Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: bck-i-search



korebantic wrote:
> Hello, recent bash convert here. I've managed to get
> everything setup the way I want in zsh, with the
> exception of one thing. How do I enable the usage of
> 'bck-i-search' when I'm in vi mode (bindkey -v)? I've
> noticed that 'bck-i-search' works just fine in emacs
> mode (bindkey -e)...

Assuming you want it in the command mode map rather than the insert mode
map,

bindkey -M vicmd '^r' history-incremental-search-backward

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Work: pws@xxxxxxx
Web: http://www.pwstephenson.fsnet.co.uk



Messages sorted by: Reverse Date, Date, Thread, Author