Daily Vim Devotional

Aug 20

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)

Aug 15

Write a Vim Plugin with TDD -

thoughtbot:

Write a Vim plugin with confidence using TDD.

Aug 05

Maintainable RSpec Helper - Ryan Sonnek -

Aug 04

Perfect ClojureScript Development Environment With Vim - Anton Astashov's blog -

(Source: twitter.com)

Jul 31

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.

Jun 30

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

Jun 23

Vim easter eggs -

(Source: twitter.com)

May 28

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)

May 21

Vim for Rubyist: 10 useful vim plugins for Ruby -

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

(Source: rubyweekly.com)

May 20

Why Atom Can’t Replace Vim -

Interesting article.