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 2/2, Downloaded by 363  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: 54.196.110.85

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.
   
OSDN.net Logo