sponsor Vim development Vim logo Vim Book Ad

SwitchExt : Switch between source and header files

 script karma  Rating 0/11, Downloaded by 696  Comments, bugs, improvements  Vim wiki

created by
Yuxuan Wang
 
script type
utility
 
description
It can switch between your source file (.c/.cpp files) and the related header file (.h files), to save your time :)
 
install details
put it under your vim plugin directory
set g:switchext_srcext to your source extension, if ommited, it will be "cpp"
you can also map a key to :call SwitchExt() to switch faster.

here's a vimrc example:

let g:switchext_srcext = "cpp"
map <F3> <ESC>:call SwitchExt()<CR>
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
switchext.vim 0.1 2006-04-12 6.0 Yuxuan Wang Initial upload
ip used for rating: 216.73.216.130

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github