Sunday, October 3, 2010

How to find number of matches in gvim

It is a easy tip to find the number of matching for the given pattern. Just search and replace it with any thing and see the success message given by vim. It will say "42 substitutions on 21 lines". And now undo changes. Thats it.

No comments:

Post a Comment