-
Notifications
You must be signed in to change notification settings - Fork 5
PracticalVim Tip82
Shuai YUAN edited this page May 29, 2015
·
1 revision
- `n` flag: instead of replacing each match with the target, it simply counts the number of matches and then echoes the result below the command line.
- By leaving the search field blank, we instruct Vim to use the current search pattern.
- Because of the `n` flag, the replacement field is ignored anyway.