CurtineIncSw.vim : Switch from *.c* to *.h* and vice versa
| script karma
Downloaded by 37
Comments, bugs, improvements
script versions (upload new version)
filename for header and implementation is identical excluding the directory
and extension (foo.c -> foo.h supported, foo.c -> bar.h not supported)
user opens files from base of repo
repo contains both implementation and header files
Based on these assumptions, you don't need to reconfigure when you switch
between repos, provided the headers and implementation are all in the same repo.
|Copy CurtineIncSw.vim into your ~/.vim/plugin directory. Or :source CurtineIncSw.vim.
You can set a keyboard shortcut if you want by placing something like:
map <F5> :call CurtineIncSw()<CR>
in your .vimrc
Click on the package to download.
ip used for rating: 188.8.131.52