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

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

698 active golfers, 3511 entries

Solutions by @pftb12345:
19
#90 - pftb12345 / @pftb12345

03/31/2015 at 06:24AM

21
#>201 - pftb12345 / @pftb12345

03/31/2015 at 06:22AM

22
#>220 - pftb12345 / @pftb12345

03/31/2015 at 06:19AM

23
#>228 - pftb12345 / @pftb12345

03/31/2015 at 06:11AM

25
#>243 - pftb12345 / @pftb12345

03/31/2015 at 06:07AM

27
#>292 - pftb12345 / @pftb12345

03/31/2015 at 05:56AM

30
#>372 - pftb12345 / @pftb12345

03/31/2015 at 05:52AM

31
#>426 - pftb12345 / @pftb12345

03/31/2015 at 05:51AM

32
#>485 - pftb12345 / @pftb12345

03/31/2015 at 05:35AM

35
#>581 - pftb12345 / @pftb12345

03/31/2015 at 05:33AM