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

Re: bck-i-search



--- Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
> 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

* smacks head *

I was grep'n for the string 'bck-i-search' ie:

% bindkey | grep 'bck-i-search'

Right idea, wrong string =)

Thanks!


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



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