Monday, December 21, 2009

Re: '*' search without cursor move

2009/12/22 pansz <panshizhu@routon.com>:
> Steven Woody 写道:
>> 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.
>

That's an idea~ thanks.

> so if you want the cursor back, map something to *#
>
> --
> You received this message from the "vim_use" maillist.
> For more information, visit http://www.vim.org/maillist.php

--
Life is the only flaw in an otherwise perfect nonexistence
-- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewoody@gmail.com)

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

No comments: