Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What I'd really like is an option to disable the automatic multi-buffer behavior for things like git diffs. It just doesn't work for me, and the Zed UX seems to not even realize that not everyone will love it.


The multi buffer is the most amazing thing about Zed. AI be damned. It now feels wrong to use an editor that doesn't have it. It is so obvious in hindsight.


Honestly, this is a weak point of Zed IMO. I just find it a bit confusing to deal with. I don't know exactly how to get it to jump to the location of a specific block in the multi-buffer view, e.g. a Find in Files view. I double click various places in the UI until it goes to the file and sometimes I have to scroll to where I was at in the multi-buffer view. It's very frustrating.

I think it could be made to work better, but as it is now, it feels cumbersome to work with.


I believe what you want to do is click on the line numbers, which should take you to that exact point in the file.


Could it really be that simple?!

Holy shit. It really is that simple.

Thank you.


you can also use alt+enter while the cursor is inside of a multi-buffer, and it will open at that point in the file.


Even after figuring this out for myself I still struggle to do it fluently.


There's a setting that will allow you to double-click to open a file from the multibuffer which I find more natural:

  { "double_click_in_multibuffer": "open" }


Took me a bit to find this, but you can click on a line number in multi-buffer to open that file at that location. I think their default assumption is for you to not use the mouse much. If you're using vim mode g+[space] will open the file where your cursor is. I think it's alt+return in normal mode but either way there's a shortcut hint on the right side of the header for the file your cursor is currently in.


It also tell you that "alt-enter to jump to the file" in the "header".


I think this is one of the best innovations in Zed, though it could use some more polish to work really great. Being able to edit the diff directly surely is a great thing?


The problem is that it insists on jamming together all files in the list, each with only a tiny bit of context, when I want to look at things one at a time with full context, and there's no way to change that behavior.


"Alt-Enter" jumps directly to the selected entry in the git side panel. Ctrl-clicking works as well (granted it's not obvious)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: