Monday, December 21, 2009

RE: '*' search without cursor move

Steven Woody wrote:
> 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.

The main search tip is:
http://vim.wikia.com/wiki/Searching

and it links to this which has a section on your question:
http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches

John

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

No comments: