Real Vim ninjas count every keystroke - do you?

Pick a challenge, fire up Vim, and show us what you got.

Changelog, Rules & FAQ, updates: @vimgolf, RSS.

Your VimGolf key: please sign in

$ gem install vimgolf
$ vimgolf setup
$ vimgolf put 524e1a20b81fe50002000008

attr_aligner

Two attr keywords. Two separate indentations. Align the colons.

Start file
attr_reader :align, :variables, :with
attr_accessor :spaces, :to, :complete, :challenge
# vim: set expandtab:
End file
attr_reader :align,
            :variables,
            :with
attr_accessor :spaces,
              :to,
              :complete,
              :challenge
# vim: set expandtab:

View Diff

1,2c1,7
< attr_reader :align, :variables, :with
< attr_accessor :spaces, :to, :complete, :challenge
---
> attr_reader :align,
>             :variables,
>             :with
> attr_accessor :spaces,
>               :to,
>               :complete,
>               :challenge

Solutions by @petegadomski:

Unlock 10 remaining solutions by signing in and submitting your own entry
Created by: @udioica

692 active golfers, 3444 entries

Solutions by @petegadomski:
19
#40 - Pete Gadomski / @petegadomski

01/28/2014 at 10:54PM

21
#>193 - Pete Gadomski / @petegadomski

01/28/2014 at 10:53PM

24
#>230 - Pete Gadomski / @petegadomski

01/28/2014 at 10:49PM

26
#>253 - Pete Gadomski / @petegadomski

01/28/2014 at 10:47PM

27
#>281 - Pete Gadomski / @petegadomski

01/28/2014 at 10:45PM

28
#>306 - Pete Gadomski / @petegadomski

01/28/2014 at 10:41PM

30
#>355 - Pete Gadomski / @petegadomski

01/28/2014 at 10:38PM

31
#>399 - Pete Gadomski / @petegadomski

01/28/2014 at 09:38PM

32
#>460 - Pete Gadomski / @petegadomski

01/28/2014 at 09:34PM

34
#>543 - Pete Gadomski / @petegadomski

01/28/2014 at 09:30PM