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

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

703 active golfers, 3522 entries

Solutions by @AaronFresh7:
19
#76 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:17AM

21
#>201 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:15AM

22
#>221 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:12AM

22
#>221 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:13AM

23
#>229 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:10AM

25
#>242 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:05AM

26
#>267 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:04AM

27
#>292 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:01AM

28
#>325 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:00AM

29
#>349 - Aaron Fresh / @AaronFresh7

09/13/2014 at 08:59AM

33
#>528 - Aaron Fresh / @AaronFresh7

09/13/2014 at 08:57AM

35
#>585 - Aaron Fresh / @AaronFresh7

09/13/2014 at 08:56AM