I bind key <leader><cr> to :set nohl. So when I finish searching, type these key to disable highlight.
On 3/3/11, Yuliang Wang <[email protected]> wrote: > Dear Fellows, > > If the hlsearch is set, then all instances are highlighted, but we need to > unset it every time when the search is finished. If hlsearch is not set, > then only the first character of the word is highlighted, so that it is hard > to see where is the word. Is there an option that the current whole word is > highlighted? > > -- > *Yuliang* > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- Sent from my mobile device -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
