Plugins

Why I use spf13-vim

spf13-vim, a completely cross platform distribution of vim plugins and resources for Vim, GVim and MacVim stays true to it’s vim roots while adding modern features including a plugin management system, a curated plugin set with customized configuration, advanced autocomplete, tags, support for dozens of languages and much more. I recently read a thread where the author asked for feedback on whether or not to use spf13-vim. Responses varied greatly with some people loving it to others claiming it was bloated and overkill.

spf13-vim 3.0 release and new website

This post is a bit behind the actual releases, but should be announced here nevertheless. Announcing the 3rd major release of spf13-vim. spf13-vim is a distribution of vim plugins and resources for Vim, GVim and MacVim. It is a completely cross platform distribution that stays true to the feel of vim while providing modern features like a plugin management system, autocomplete, tags and tons more. It grew out of my vim configuration which I put on GitHub.

WP GitHub Code Viewer

GitHub Code Viewer 2 is a plugin for wordpress that will automatically pull a file from github and place into any post using a shortcode [github_cv url=‘$url’]. It caches the code locally (in db), so it’s quite fast and can be even faster when combined with wp_super_cache or w3c_total_cache. It will re-request the code from github every 24 hours (by default, but it’s configurable) so the code in your post will always remain up to date.

Vim Plugins: snipMate

Why use it It’s super easy to use It has tons of snippets It’s pretty well compatible with TextMate snippets for easy portability Dynamic variables, for all the times you use the same string multiple times It’s really easy to define your own snippets It’s better than anything else out there, trust me I’ve tried them all Sometimes a video works better to explain things.. check out this video snipMate.vim Introductory Screencast from Michael Sanders on Vimeo.

Vim Plugins: NERD Commenter

The NERD Commenter is an indispensable tool when programming in VIM. It understands like a zillion different file types and properly comments each. It can handle single line, multi line, partial line commenting as well as nesting. If you’re programming in VIM you really should be using it. It is simple enough to use. Most commands are mapped to ,c[character]. The command you are probably going to use the most is ,c<space> which intelligently toggles a comment on or off.

The 15 Best Vim Plugins

One of the things that makes vim great is that it can be extended through plugins. There are plugins for more than you would expect. I have gathered together the 15 best plugins. I’ve included these plugins as part of my ultimate VIM configuration which has been featured on many sites and is hosted on github. I’ve also begun a series of posts on some of these plugins including snipmate and NerdCommenter.