Daily Vim Devotional
vim-spec-runner

Nice plugin for running Ruby and JavaScript tests from Vim. Lets you use vim-dispatch or other tools of your choice.

https://github.com/gabebw/vim-spec-runner

(Source: robots.thoughtbot.com)

thoughtbot:

Write a Vim plugin with confidence using TDD.

(Source: twitter.com)

Send buffer contents to a command

Sometimes, when I have to run a series of important commands with lots of switches (hi, knife bootstrap!), I like to type them all in an editor and then run them when I’m done.

Vim can :write to any output, so doing:

:w !sh

will write the contents of the current buffer to the sh command, and display the output.

rake.vim

This plugin (by the indefatigable Tim Pope, of course) takes some of the nice things from rails.vim, including projections and :A and makes them work on plain old Ruby projects.

https://github.com/tpope/vim-rake

(Source: twitter.com)

splitjoin.vim

This plugin let’s you take code like this:

service "nginx" do
  action :nothing
end

type gJ for Go Join That!, and it turns in to:

service "nginx" { action :nothing }

type gS for Go Split That!, to change it back.

Works with blocks, if statements, and most structures that do both multi-line and single line forms. Supports many programming languages too.

https://github.com/AndrewRadev/splitjoin.vim

(Source: twitter.com)

Most of these have been covered here before, but it’s a nice list.

(Source: rubyweekly.com)

Interesting article.