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

703 active golfers, 3522 entries

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

03/31/2015 at 06:24AM

21
#>202 - pftb12345 / @pftb12345

03/31/2015 at 06:22AM

22
#>221 - pftb12345 / @pftb12345

03/31/2015 at 06:19AM

23
#>229 - pftb12345 / @pftb12345

03/31/2015 at 06:11AM

25
#>244 - pftb12345 / @pftb12345

03/31/2015 at 06:07AM

27
#>294 - pftb12345 / @pftb12345

03/31/2015 at 05:56AM

30
#>374 - pftb12345 / @pftb12345

03/31/2015 at 05:52AM

31
#>428 - pftb12345 / @pftb12345

03/31/2015 at 05:51AM

32
#>488 - pftb12345 / @pftb12345

03/31/2015 at 05:35AM

35
#>586 - pftb12345 / @pftb12345

03/31/2015 at 05:33AM