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

106277Re: highlighting text between marks

Expand Messages
  • Teemu Likonen
    Aug 1, 2009
      On 2009-08-01 00:25 (-0700), googler wrote:

      > I have two marks, say a and b. I want to highlight the text between
      > (and including) a and b. I tried to use the match command like this
      > :'a,'b match MyGrp /.*/

      Try this first:

      :help /\%'m

      For example:

      :match ErrorMsg /\%'a\_.*\%'b/

      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 7 messages in this topic