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

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

692 active golfers, 3444 entries

Solutions by @kwa129:
19
#67 - kwa / @kwa129

07/05/2014 at 07:22AM

22
#>215 - kwa / @kwa129

07/05/2014 at 07:16AM

23
#>224 - kwa / @kwa129

07/05/2014 at 06:54AM

25
#>237 - kwa / @kwa129

07/05/2014 at 06:42AM

26
#>262 - kwa / @kwa129

07/05/2014 at 06:04AM

27
#>285 - kwa / @kwa129

07/05/2014 at 05:57AM

28
#>315 - kwa / @kwa129

07/05/2014 at 03:15AM

29
#>342 - kwa / @kwa129

07/05/2014 at 01:27AM

31
#>414 - kwa / @kwa129

07/05/2014 at 12:58AM

32
#>473 - kwa / @kwa129

07/05/2014 at 12:45AM