sponsor Vim development Vim logo Vim Book Ad

SwapHeader : This script allows to switch between source and header files.

 script karma  Rating 12/11, Downloaded by 824  Comments, bugs, improvements  Vim wiki

created by
Evgeny Podjachev
 
script type
utility
 
description
This script allows to switch between source and header files.
 
install details
Copy swapheader.vim to your plugins directory. To switch between source
and header files type ':call SwapHeaderFile(0)' or press <C-F6> if you like open file in same window, if you like open file in vertically split window type  ':call SwapHeaderFile(1)' or <C-S-F6>.

Global Configuration Variables:
    defaultHeaderExtension : Sets header extension, by default '\\.h'.
    defaultSourceExtension : Sets source extension, by default '\\.cpp'.
    enableSwapHeaderMap : If it's equal to 1, keymapping for <C-F6> and <C-S-F6> is enabled, otherwise it's disabled, by default 1.
 

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
swapheader.vim 1.0.0 2003-08-23 6.0 Evgeny Podjachev Initial upload
ip used for rating: 18.225.255.187

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