One of my favorite vim features is the ability to do
set path=/my/project/root/**
and then use
:find SomeClassFile.java
Only problem is, I've got some generated directories at that level that I cannot move and wish to exclude from such searches. I can't seem to figure out how to exclude those dirs. Anyone know how/if this can be done?
I'm pretty sure you can't exclude things from a "**"
search. Instead, you could specify all the subdirectories below that one that don't include generated code, like
set path=/my/project/root/src/**,/my/project/root/com/**,/my/project/root/foo/**
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