How to search a word in a directory
- Search word vim in wiki files. :vimgrep /vim/ *.wiki Search full word vim in wiki files.
- Not vimgrep, vimwiki or something. :vimgrep /\/ *.
- wiki Move to the first match. :cfirst :clast :cprevious :cnext
- Open search list
:copen
.J
/K
then<Enter>
to select a match.