On 09/14/11 17:45, Gelonida N wrote:
If I search some text wtih '/',
then vim highlights this search expression in the entire text, (which is
nice).
Sometimes I'd like just to unhighlight the search.
currently I search for something non existing to do so.
However I assume, there is something slighty more elegant.
What would be this command or the shortest sequence?
:noh
Which you can map as desired:
:nnoremap <f4> :noh<cr>
:help :noh
-tim
--
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