Multi-cursor editing support in search result buffers #6533
-
How to activate multi-line cursors was answered in https://github.com/zed-industries/community/discussions/1075 - I wouldn't have known the feature exists had I not read that post, as the feature seems to be undocumented and not included in the command palette? A (possibly) related question is: how to do we activate the very interesting multi-buffer edit cursors as demoed by Nathan Sobo at https://youtu.be/wXT73bBr83s?t=1142 where he does a project-wide search then opens a live editing cursor in each of the search result buffer excerpts? Is this feature still in the current version, and if so, how do we activate it please? |
Beta Was this translation helpful? Give feedback.
Replies: 0 comments 2 replies
-
Hey @bobosola, I think Nathan ran a Screen.Recording.2023-04-12.at.8.03.32.PM.movJust to mention it, these commands can be ran in any editor, they aren't restricted to only multi-buffers. We also do have a request to add a command that selects all of the matching text with one command, but this hasn't landed yet. |
Beta Was this translation helpful? Give feedback.
Hey @bobosola, I think Nathan ran a
editor: select next
command a handful of times (by default, this is bound tocmd-d
). Each time you run that command, the editor will highlight the next occurrence that matches whatever you have currently highlighted. Then, he probably ran a command to jump all cursors to the end of the line (cmd-right
), where he then typed in a comment.Screen.Recording.2023-04-12.at.8.03.32.PM.mov
Just to mention it, these commands can be ran in any editor, they aren't restricted to only multi-buffers.
We also do have a request to add a command that selects all of the matching text with one command, but this hasn't landed yet.