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

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

692 active golfers, 3444 entries

Solutions by @Kujaon:
19
#51 - Cullen O'Neill / @Kujaon

02/21/2014 at 01:56AM

19
#>51 - Cullen O'Neill / @Kujaon

02/21/2014 at 02:02AM

21
#>195 - Cullen O'Neill / @Kujaon

02/19/2014 at 07:03PM

22
#>213 - Cullen O'Neill / @Kujaon

02/19/2014 at 06:59PM

25
#>235 - Cullen O'Neill / @Kujaon

02/11/2014 at 08:36PM

27
#>284 - Cullen O'Neill / @Kujaon

02/11/2014 at 08:27PM

33
#>511 - Cullen O'Neill / @Kujaon

02/11/2014 at 08:12PM

33
#>511 - Cullen O'Neill / @Kujaon

02/11/2014 at 08:25PM

36
#>586 - Cullen O'Neill / @Kujaon

02/19/2014 at 06:19PM

38
#>609 - Cullen O'Neill / @Kujaon

02/19/2014 at 06:17PM

45
#>648 - Cullen O'Neill / @Kujaon

02/11/2014 at 08:10PM