> I can use the following key strokes 'd/_variable + 7<CR>', will does
> the job precisely, However, one problem is that after the deletion,
> '_variable + 7' will be highlighted if it occurs in other places in
> the same file, which is undesirable.
>
> Does anybody have solution to this annoying problem?
You can just clear the search register, which will also clear out all
the highlighting:
:let @/=''
You map that command to any keystrokes you want and it's a simple
matter to clear any highlights you don't like, without having to set
hlsearch to off for the next search.
-- Herb
--
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
No comments:
Post a Comment