sponsor Vim development Vim logo Vim Book Ad

SwitchExt : Switch between source and header files

 script karma  Rating 0/11, Downloaded by 560  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: 3.147.66.178

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github