Easy Telescope-style file finder in Zed #22581
Replies: 9 comments 11 replies
-
@baldwindavid Thanks. This works nicely, however when I open the search the lookup is done through some random files only and not all my workspace. Do you know how to configure that? |
Beta Was this translation helpful? Give feedback.
-
Thanks, this works really well! Had to change the task as so
because zed's name on linux (at least on my install) is zeditor. Really simple but might save someone a minute or two :) |
Beta Was this translation helpful? Give feedback.
-
Many thanks @baldwindavid Also adding a little something. I usually use Anywho, this worked for me. {
"context": "Terminal",
"bindings": {
// "ctrl-/": "workspace::ToggleBottomDock",
"alt-j": ["workspace::SendKeystrokes", "down"],
"alt-k": ["workspace::SendKeystrokes", "up"]
}
} |
Beta Was this translation helpful? Give feedback.
-
That's awesome, thanks. Works like a charm except the builtin terminal is a bit slow. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much @baldwindavid! This is awesome. |
Beta Was this translation helpful? Give feedback.
-
Hey @baldwindavid ! Thanks for this awesome task ! I've a corner case tho that is a little bit messing with my brain. I'm on Macos, with latest zed and television. thanks ! |
Beta Was this translation helpful? Give feedback.
-
FYI: after update to zed 0.173.8, this stopped working due to #24833 |
Beta Was this translation helpful? Give feedback.
-
A custom channel that searches over open files would be nice too. But I don't think the |
Beta Was this translation helpful? Give feedback.
-
@baldwindavid hi, I looked your video and find you open a file in the same instance of zed, but I will open a new zed window, what's the problem? Is it because I'm using it under Windows? Thank you for your provide anyway |
Beta Was this translation helpful? Give feedback.
-
There's a been a lot of discussion about telescope-style search in #8279. There's some good workarounds/ideas there, but just posting a drop-in setup that leverages television, a task, and keybinding.
1. Install television
2. Add a task for a file finder
tasks.json
3. Add keybinding to open file finder in center terminal
keymap.json
This should result in an interaction similar to...
2025-01-02T184704.mp4
Searching file contents
Television can search just about anything so, for example, file contents could also be searched with the
text
channel.Beta Was this translation helpful? Give feedback.
All reactions