vim-fswitch icon indicating copy to clipboard operation
vim-fswitch copied to clipboard

Double file extensions

Open godbyk opened this issue 8 years ago • 1 comments

I use the fswitch plugin all the time and love it.

I occasionally have a Blah.h.in file (which will be partially generated by the build system) which has a corresponding Blah.cpp file. Using autocmd BufEnter *.h.in let b:fswitchdst = 'cpp' lands me in a buffer named Blah.h.cpp instead of the expected Blah.cpp.

Is there any way to suggest to fswitch that it may need to do more work to get the proper basename?

godbyk avatar Mar 15 '16 22:03 godbyk

I believe that the option fswitchfnames can help you.

slycelote avatar Mar 18 '16 01:03 slycelote