logoalt Hacker News

f311ayesterday at 2:48 PM13 repliesview on HN

Too bad they did not include better search UI into this release.

When you search, Zed opens a new tab, which I hate. Sometimes I just want to have a quick glance at some code and close the search using escape.

Telescope style search in vim, helix or JetBrains tools is so much better.

https://github.com/zed-industries/zed/pull/46478


Replies

pastel8739yesterday at 3:22 PM

Huh, I absolutely love Zed’s search UI. I just navigate back to my previous tab with ctrl-o when I’m done

show 2 replies
chuckadamsyesterday at 2:53 PM

Whereas I'm not a great fan of modals for anything where I'd like to refer back to what I'm working on. I guess I'd just prefer some tabs to open as a split by default and close with esc, maybe call them something like "ephemeral tabs"? Basically, steal some ideas from emacs.

show 2 replies
Aldipoweryesterday at 3:39 PM

This. I tried Zed for an entire month, but this "search thing" drove me nuts. It is also slow. If you work in a large project search is absolutely essential. Too bad.. Back to Visual Studio Code.

show 1 reply
frioyesterday at 11:05 PM

I use the television task described here (https://zed.dev/blog/hidden-gems-part-2) for that experience :)

jeppesteryesterday at 3:23 PM

I love the search in zed. If it was up to me it would open a new tab on every search rather than reusing the same tab, so that I didn't have to redo past searches.

The multibuffer result is so nice for "hands-on" search and replace.

cowboy_henkyesterday at 3:12 PM

Agreed, this is the main reason why I keep switching back to other editors.

leshenkayesterday at 6:54 PM

I can’t relate to that, I’ve also struggled with this decision for quite some time, but I’ve gotten used to it. What I hate is that it doesn’t open several search tabs if I need to look for several things at once.

malcolmgreavesyesterday at 4:06 PM

> Sometimes I just want to have a quick glance at some code and close the search using escape.

How else are you going to have “a quick glance at code” *across* project files without using a new view for that? It sounds like you’re describing something impossible.

Zed’s across files search solves this in a similar way as other tools. Except that in zed you can also edit the code where your search results show up. Zed also has within file search.

show 2 replies
masklinnyesterday at 3:32 PM

> When you search, Zed opens a new tab, which I hate.

You also have to validate the search, it doesn't start off immediately on its own, which annoys me a lot more.

gnufiedyesterday at 4:00 PM

I know not much about Zed and I am curious, can such changes be implemented via extensions?

show 1 reply
selfawareMammalyesterday at 8:38 PM

I feel you. Same here.

whalesaladyesterday at 3:02 PM

That was og sublime/textmate behavior that I grew to miss with vscode, so was pleasantly surprised to see it exists in Zed.

smashahyesterday at 3:23 PM

yeah its quite silly they decided to mess around with this universally standard behaviour. The search is the reason why i always end up going back to other vs code based IDEs for real work. I open zed for perf reasons and something quick.

Also now they've introduced this "agent first" layout which i cannot undo. They're strength is in perf, idk why try to reinvent the wheel w.r.t DX.

show 1 reply