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

Re: How to get the number of occurances of a search pattern ?

Expand Messages
  • Yakov Lerner
    ... Try this plugin: http://www.vim.org/scripts/script.php?script_id=1682 Conveniently, it gives you number of matches for *every* search, and index of
    Message 1 of 3 , Mar 31, 2007
    • 0 Attachment
      On 3/29/07, MM <mirzani@...> wrote:
      > When I do a search using / ,?,* or # how do I determine the number of
      > matches of search pattern in the current buffer ?

      Try this plugin:
      http://www.vim.org/scripts/script.php?script_id=1682
      Conveniently, it gives you number of matches for *every*
      search, and index of current match among all matches.
      Yakov
    Your message has been successfully submitted and would be delivered to recipients shortly.