Loading ...
Sorry, an error occurred while loading the content.

Re: search highlight whole word

Expand Messages
  • jason
    I bind key to :set nohl. So when I finish searching, type these key to disable highlight. ... -- Sent from my mobile device -- You received this
    Message 1 of 2 , Mar 4 5:08 AM
    • 0 Attachment
      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 <jadelightking@...> 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
    Your message has been successfully submitted and would be delivered to recipients shortly.