sponsor Vim development Vim logo Vim Book Ad

Switch c/c++ source and header files : Switch current vim buffer between c++ header and cpp files

 script karma  Rating 3/3, Downloaded by 1174  Comments, bugs, improvements  Vim wiki

created by
hongyuan jia
 
script type
utility
 
description
\" || Switch c++ h and cpp
\" || Jia Hongyuan, 2014-03-06. Email: jhy817@qq.com
\" ||
\" || Descriptions:
\" || This script is designed to quickly switch current vim buffer between c/c++
\" || header and cpp files. You can easily add new file extensions by changing \"exts\" variable.
\" || The current supporting extensions include .cpp, .C, .cc.
 
install details
\" || Installation:
\" || 1. Copy this .vim file into .vim/plugin folder. You can change the logger
\" || level, if you want to suppress the redundant output information.
\" || 2. Set shortcut in .vimrc. e.g.  nmap ,s :call Switch_h_cpp()<CR>

" vbundle git location
git location: https://github.com/jiahongyuan/sourceCodeSwitcherForC_CXX.git
 

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
Switch_h_cpp.vim 1.2 2014-06-04 7.0 hongyuan jia Improved the searching performance.
If the plugin can find a target file in a folder in where current vim buffer file locates, it will load this file directly, no need to do further search.
Switch_h_cpp.vim 1.0 2014-05-21 7.0 hongyuan jia Initial upload
ip used for rating: 18.97.9.175

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