“select next” with “replace newest” should unselect the last selection if it’s the last selection in the buffer #36336
LPGhatguy
started this conversation in
Ideas From VSCode
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In both VS Code and Sublime Text, using the "select next with replace newest action" (Ctrl-K, Ctrl-D in VS Code and Ctrl-Shift-D) when the most recent selection is the last occurrence of the word in the file, that selection is unselected. In Zed, that does not happen.
For example, in this buffer:
Selecting
foo
and pressing Ctrl-D will select the secondfoo
. PressingCtrl-K, Ctrl-D
(["editor::SelectNext", {"replace_newest": true}]
) should then unselect the second foo like in VS Code, Sublime Text, etc. Instead, the secondfoo
stays selected.Beta Was this translation helpful? Give feedback.
All reactions