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

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

703 active golfers, 3522 entries

Solutions by @ArtStandAlone:
19
#61 - kiho choi / @ArtStandAlone

05/12/2014 at 12:41PM

21
#>201 - kiho choi / @ArtStandAlone

05/12/2014 at 12:38PM

24
#>235 - kiho choi / @ArtStandAlone

05/12/2014 at 12:25PM

26
#>265 - kiho choi / @ArtStandAlone

05/12/2014 at 12:13PM

27
#>290 - kiho choi / @ArtStandAlone

04/30/2014 at 10:18AM

30
#>368 - kiho choi / @ArtStandAlone

04/30/2014 at 10:08AM

31
#>416 - kiho choi / @ArtStandAlone

04/30/2014 at 10:01AM

32
#>478 - kiho choi / @ArtStandAlone

04/30/2014 at 09:55AM

35
#>584 - kiho choi / @ArtStandAlone

04/30/2014 at 09:50AM

42
#>640 - kiho choi / @ArtStandAlone

04/30/2014 at 09:39AM