counterpoint.vim : Easily navigate file counterparts.
| script karma
Downloaded by 254
Comments, bugs, improvements
script versions (upload new version)
|Use Counterpoint to easily cycle between file counterparts (.h, .cpp, .osx.mm, win.cpp, and so on) via the :CounterpointNext and :CounterpointPrevious commands.
Counterpoint works by taking the current file, determining the root file name, and switching between files with the same root but different extensions. This allows Counterpoint to operate on multi-level file extensions instead of just the traditional .h and .cpp pairs, and allows it to cycle in a natural way without any configuration beyond mapping at least one of the command commands in your .vimrc, perhaps like so:
nnoremap <leader>a :CounterpointNext
For feature requests, bugs, better documentation and the latest version, check out the GitHub page:
|Use Vundle (http://www.vim.org/scripts/script.php?script_id=3458), Pathogen (http://www.vim.org/scripts/script.php?script_id=2332), or extract into ~/.vim.|
Click on the package to download.
ip used for rating: 18.104.22.168