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 @pingtimeout:

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

694 active golfers, 3453 entries

Solutions by @pingtimeout:
23
#224 - Pierre Laporte / @pingtimeout

03/15/2014 at 10:33PM

25
#>235 - Pierre Laporte / @pingtimeout

03/15/2014 at 10:24PM

26
#>259 - Pierre Laporte / @pingtimeout

03/15/2014 at 11:10AM

28
#>310 - Pierre Laporte / @pingtimeout

03/14/2014 at 10:44PM

28
#>310 - Pierre Laporte / @pingtimeout

03/14/2014 at 10:45PM

30
#>359 - Pierre Laporte / @pingtimeout

02/16/2014 at 12:56PM

32
#>465 - Pierre Laporte / @pingtimeout

02/16/2014 at 10:34AM

32
#>468 - Pierre Laporte / @pingtimeout

03/14/2014 at 10:38PM

32
#>468 - Pierre Laporte / @pingtimeout

03/14/2014 at 10:39PM

33
#>514 - Pierre Laporte / @pingtimeout

03/14/2014 at 10:33PM

33
#>514 - Pierre Laporte / @pingtimeout

03/14/2014 at 10:37PM

37
#>596 - Pierre Laporte / @pingtimeout

02/16/2014 at 10:32AM

40
#>617 - Pierre Laporte / @pingtimeout

02/16/2014 at 01:04PM

42
#>631 - Pierre Laporte / @pingtimeout

02/16/2014 at 10:14AM