I am trying to configure vim's 'path'
and 'suffixesadd'
so when I use gf
over FILE_NAME
, and pwd is /some/dir/
, it opens /some/dir/FILE_NAME/File_Name.xml
In vimrc I put:
set suffixesadd=.xml
set path=.,dir/**
But, instead of opening File_Name.xml
it opens the directory FILE_NAME
What should I do to configure vim so it looks for files before directories?
PS: Im using gvim in Windows and have NERD plugin active