Skip to content

Commit e9a4dfa

Browse files
SanMuHeSanMuHe
SanMuHe
authored and
SanMuHe
committed
Add Count Words as a Vim til
1 parent 86cb530 commit e9a4dfa

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ A collection of things I learn every day accross different techniques, programmi
1919
## Vim
2020
- [Backspace Options](vim/backspace-options.md)
2121
- [Beginning And End Of Previous Change](vim/beginning-and-end-of-previous-change.md)
22+
- [Count Words](vim/count-words.md)
2223
- [Move to First or Last Non-Blank Character of Line](vim/first-last-non-blank-character-of-line.md)
2324
- [Insert Special Characters](vim/insert-special-characters.md)
2425
- [Make Space and Tab Visible](vim/make-space-and-tab-visible.md)

vim/count-words.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Count Words
2+
3+
In Vim, you can count the occurrences of a word by type `:%s/pattern//gn` in the normal mode.

0 commit comments

Comments
 (0)