zsh-users
 help / color / mirror / code / Atom feed
* bck-i-search
@ 2003-05-26 17:06 korebantic
  2003-05-27 19:51 ` bck-i-search Peter Stephenson
  0 siblings, 1 reply; 3+ messages in thread
From: korebantic @ 2003-05-26 17:06 UTC (permalink / raw)
  To: zsh-users

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)...

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bck-i-search
  2003-05-26 17:06 bck-i-search korebantic
@ 2003-05-27 19:51 ` Peter Stephenson
  2003-05-27 20:13   ` bck-i-search korebantic
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Stephenson @ 2003-05-27 19:51 UTC (permalink / raw)
  To: zsh-users

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@pwstephenson.fsnet.co.uk>
Work: pws@csr.com
Web: http://www.pwstephenson.fsnet.co.uk


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: bck-i-search
  2003-05-27 19:51 ` bck-i-search Peter Stephenson
@ 2003-05-27 20:13   ` korebantic
  0 siblings, 0 replies; 3+ messages in thread
From: korebantic @ 2003-05-27 20:13 UTC (permalink / raw)
  To: zsh-users


--- Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
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@pwstephenson.fsnet.co.uk>
> Work: pws@csr.com
> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-27 20:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-26 17:06 bck-i-search korebantic
2003-05-27 19:51 ` bck-i-search Peter Stephenson
2003-05-27 20:13   ` bck-i-search korebantic

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).