I recently switched to zsh (finally) and am loving it! So far one thing that I am missing is Ctrl+R to do incremental history search.
I have the history set up properly
HISTSIZE=10000
SAVEHIST=10000
HISTFILE=~/.zsh_history
and I used vi
key bindings
bindkey -v
But Ctrl+R does not work. It removes the line above the current line, which is not the behavior it should have in vim either.
Any suggestions?
Ctrl
+[
/
... – maxschlepzig Jan 27 '12 at 14:16emacs
shortcut. To search backwards invi
, it's?
, though in zsh'svi
mode/
and?
are reversed as you generally want to search backwards. – Stéphane Chazelas Dec 15 '19 at 21:33