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

692 active golfers, 3444 entries

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

03/31/2015 at 06:24AM

21
#>197 - pftb12345 / @pftb12345

03/31/2015 at 06:22AM

22
#>216 - pftb12345 / @pftb12345

03/31/2015 at 06:19AM

23
#>224 - pftb12345 / @pftb12345

03/31/2015 at 06:11AM

25
#>239 - pftb12345 / @pftb12345

03/31/2015 at 06:07AM

27
#>288 - pftb12345 / @pftb12345

03/31/2015 at 05:56AM

30
#>368 - pftb12345 / @pftb12345

03/31/2015 at 05:52AM

31
#>422 - pftb12345 / @pftb12345

03/31/2015 at 05:51AM

32
#>481 - pftb12345 / @pftb12345

03/31/2015 at 05:35AM

35
#>577 - pftb12345 / @pftb12345

03/31/2015 at 05:33AM