sponsor Vim development Vim logo Vim Book Ad

otherfile.vim : Allows you to quickly switch between .h/.c, .h/.cc, .ads/.adb etc

 script karma  Rating 0/4, Downloaded by 507  Comments, bugs, improvements  Vim wiki

created by
Andrey Tarantsov
 
script type
utility
 
description
Press F8 to switch between header and source files, or any other kind of paired files.
In the present state, handles C/C++/Ada files, but can be (really) easily modified to handle more.
If no alternate file is found, asks for the file name to create. Press ESC to cancel if you want.
By default maps <F8> to do the job; you may change this (see the end of file).
 
install details
Just put this file in your Vim \"plugin\" directory (or ~/.vim/plugin) or load it manually via \"source\" Vim command.
 

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
other.vim 1.0 2005-05-22 6.0 Andrey Tarantsov Initial upload
ip used for rating: 3.138.33.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