Daily Vim Devotional

(Source: rubyweekly.com)


I website and API for generating .gitignore lists for all kinds of stuff.

An example (from Justin Campbell):

git config --global alias.ignore '!gi() { curl gitignore.io/api/$@ ;}; gi' git ignore ruby,osx



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


(Source: robots.thoughtbot.com)


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.


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.


(Source: twitter.com)


This plugin let’s you take code like this:

service "nginx" do
  action :nothing

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.


(Source: twitter.com)