Sample Header Ad - 728x90

How to enable reverse search in zsh?

89 votes
3 answers
75032 views
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?
Asked by Ali (7243 rep)
Jan 27, 2012, 01:47 PM
Last activity: Mar 30, 2024, 08:18 AM