search next, prev while in /pattern editing

2006-05-18 Thread Yakov Lerner
I am using incsearch. I wanted to define 2 mappings that act while I am in /search pattern editing mode, and that take me to next/prev match while leaving the cursor in /pattern commandline. Is it possible ? Yakov

Re: search next, prev while in /pattern editing

2006-05-18 Thread Benji Fisher
On Thu, May 18, 2006 at 12:27:26PM +, Yakov Lerner wrote: I am using incsearch. I wanted to define 2 mappings that act while I am in /search pattern editing mode, and that take me to next/prev match while leaving the cursor in /pattern commandline. Is it possible ? Yakov If you

Re: search next, prev while in /pattern editing

2006-05-18 Thread Eric Arnold
I think this does what you want. You only need to use /, though, since you can now go up and down while in / : cmap silent C-X c-cN:redrawCR/c-p cmap silent C-Z c-cn:redrawCR/c-p

Re: search next, prev while in /pattern editing

2006-05-18 Thread Eric Arnold
On 5/18/06, Eric Arnold [EMAIL PROTECTED] wrote: I think this does what you want. You only need to use /, though, since you can now go up and down while in / : cmap silent C-X c-cN:redrawCR/c-p cmap silent C-Z c-cn:redrawCR/c-p Rats. This works only if you set the @/ variable first by

Re: search next, prev while in /pattern editing

2006-05-18 Thread Yakov Lerner
On 5/18/06, Eric Arnold [EMAIL PROTECTED] wrote: On 5/18/06, Eric Arnold [EMAIL PROTECTED] wrote: I think this does what you want. You only need to use /, though, since you can now go up and down while in / : cmap silent C-X c-cN:redrawCR/c-p cmap silent C-Z c-cn:redrawCR/c-p Thanks to

Re: search next, prev while in /pattern editing

2006-05-18 Thread Hari Krishna Dara
On Thu, 18 May 2006 at 9:31am, Benji Fisher wrote: On Thu, May 18, 2006 at 12:27:26PM +, Yakov Lerner wrote: I am using incsearch. I wanted to define 2 mappings that act while I am in /search pattern editing mode, and that take me to next/prev match while leaving the cursor in