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

75914Re: Matching JUST the nth occurence of a text in a line

Expand Messages
  • A.J.Mechelynck
    Oct 30, 1942
      Chuck Mason wrote:
      > Am I the only one amused that /home<CR>n does nearly the same thing?
      > I mean, I suppose you could be doing operations on your search but
      > couldn't you equally just "ayw and do stuff there? Besides \{-}\zs
      > takes too long to type :)

      To go to the 2nd occurrence from the cursor, you can use


      (or 2/\<home\> if you want to exclude "homeless" etc.) but all occurrences
      will be highlighted.

      Best regards,
    • Show all 20 messages in this topic