:best of Vim

Showcasing the top Vim plugins, tips and tricks.

What is Vim?

Vim is a text editor for programmers, power users & command-line junkies.

What is :best of Vim?

:best of Vim showcases the best plugins, extensions & tips for making the most of Vim.

It was built for NoVIMber 2011.

Learn more...

Follow

Alternate

Alternate makes it easier to work with languages that define header & code files, like .h & .c in C, or .h & .m in Objective-C.

With a header file open, :A switches to the code, and vice verse. :AS opens the alternate file in a split window, :AT in a new tab, and so on.

Tip

If you're an iOS developer, add these mappings to your .vimrc after installing Alternate:

autocmd FileType objc let g:alternateExtensions_h = "m" 
autocmd FileType objc let g:alternateExtensions_m = "h"

Download

Comments...

Written by