Tip 42: Open a File by Its Filename Using :find
Return to the top: <<Practical Vim>>
Configure the 'path'
-
The 'path' option allows us to specify a set of directories inside of which vim will search when the
:find
command is invoked.
References
# If you open the file in vim, # then you can \"ayy@a the next line to execute the vim command: :h 'path'
-
**
: matches all subdirectories
References
# If you open the file in vim, # then you can \"ayy@a the next line to execute the vim command: :h file-searching