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

703 active golfers, 3522 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
#>200 - Cullen O'Neill / @Kujaon

02/19/2014 at 07:03PM

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

02/19/2014 at 06:59PM

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

02/11/2014 at 08:36PM

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

02/11/2014 at 08:27PM

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

02/11/2014 at 08:12PM

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

02/11/2014 at 08:25PM

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

02/19/2014 at 06:19PM

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

02/19/2014 at 06:17PM

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

02/11/2014 at 08:10PM