Closed khingblue closed 8 years ago
I haven't used this plugin in a lot of years, so this might not be correct, but... I think you have it backwards. If you're trying to switch from a cc
file to an h
file then you need to set the configuration up when you enter a cc
file. Something like this:
augroup mycppfiles
au!
au BufEnter *.h let b:fswitchdst = 'cpp,cc,C'
au BufEnter *.cc let b:fswitchdst = 'h'
augroup END
Thanks, that works for me.
I'm editing
abcd.cc
, and tried:FSHere
, it opensabcd.hh
as a new file, instead of opening existingabcd.h
.I also tried following configuration, but still not working:
Is there any other configuration need to be added? Thanks.