Vim: Command name for search backwards / reverse search / ?
#22164
Answered
by
0x2CA
thomasheartman
asked this question in
Q&A
Replies: 1 comment 4 replies
-
"/": "vim::Search",
"g /": "pane::DeploySearch",
"?": ["vim::Search", { "backwards": true }], |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
thomasheartman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
What's the comand called that's mapped to
?
in Vim's normal mode (it searches backwards)? I can't seem to find it.I'm coming from a Emacs/Evil background and trying to get Zed up and running. Through a long time using a mix of Emacs, Vim, and custom key keybindings, I have come to rely on "ctrl-r" as a reverse search (that is: Vim's
?
in normal mode). So I wanted to set it up so that it'd work ilke that in Zed, but I can't seem to find the name of the command that does it.For
/
, it'svim::Search
(to which I've also added the bindingctrl-s
), but I can't seem to find out what the binding is called for?
.Semi-related, is there an "explain what this key binding does" in Zed? Again, coming from Emacs, I'm used to being able to ask Emacs what a keybinding does (by "ctrl-h" followed by the keybinding in question). It's super convenient and would have made finding this out a piece of cake. Does Zed have something like that?
Beta Was this translation helpful? Give feedback.
All reactions