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

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

702 active golfers, 3520 entries

Solutions by @DoomedBunnies:
19
#54 - Trevor Powell / @DoomedBunnies

02/24/2014 at 07:05AM

19
#>54 - Trevor Powell / @DoomedBunnies

02/24/2014 at 07:11AM

24
#>234 - Trevor Powell / @DoomedBunnies

02/24/2014 at 07:02AM

26
#>262 - Trevor Powell / @DoomedBunnies

02/24/2014 at 07:00AM

27
#>289 - Trevor Powell / @DoomedBunnies

02/24/2014 at 06:40AM

28
#>314 - Trevor Powell / @DoomedBunnies

02/24/2014 at 06:16AM

29
#>342 - Trevor Powell / @DoomedBunnies

02/24/2014 at 06:57AM

30
#>365 - Trevor Powell / @DoomedBunnies

02/24/2014 at 06:15AM

33
#>521 - Trevor Powell / @DoomedBunnies

02/24/2014 at 06:12AM