I can't find out how to search in Vim in all directories with:
p.e. search "search-item" in all .txt files in c:\ and d:\ (including sub directories)
Can anyone help me?
You can use grep as usually
:grep -R 'search-item' path1 path2
For more information see:
:h grep
Following works for me
:vimgrep /<search>/ {c:,d:}/**/*.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With