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

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

692 active golfers, 3444 entries

Solutions by @tim_smart:
19
#25 - Tim Smart / @tim_smart

12/09/2013 at 10:41PM

19
#>25 - Tim Smart / @tim_smart

12/09/2013 at 10:42PM

20
#>181 - Tim Smart / @tim_smart

12/09/2013 at 10:40PM

22
#>212 - Tim Smart / @tim_smart

12/09/2013 at 10:39PM

26
#>252 - Tim Smart / @tim_smart

12/09/2013 at 10:27PM

27
#>280 - Tim Smart / @tim_smart

12/09/2013 at 10:26PM

28
#>305 - Tim Smart / @tim_smart

12/09/2013 at 10:23PM

29
#>332 - Tim Smart / @tim_smart

12/09/2013 at 10:17PM

32
#>453 - Tim Smart / @tim_smart

12/09/2013 at 10:04PM

34
#>530 - Tim Smart / @tim_smart

12/09/2013 at 09:57PM

34
#>530 - Tim Smart / @tim_smart

12/09/2013 at 10:14PM