Tuesday, December 22, 2009

Re: '*' search without cursor move

On Tue, Dec 22, 2009 at 5:16 AM, Roald de Vries wrote:
>
> On Dec 22, 2009, at 4:26 AM, pansz wrote:
>>> Hi,
>>>
>>> When I use '*' command to search and highlight current word in a
>>> file,
>>> the cursor also moves to the next match.  But at many cases, I hope
>>> the cursor can be stay where it is and don't move at all.   Can I?
>>> Thanks.
>>
>> press * then press # will send you back.
>
> When typing, I would personally prefer *N

Or at least #* so that the search direction would be correct.

~Matt

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: