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

692 active golfers, 3444 entries

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

09/13/2014 at 09:17AM

21
#>196 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:15AM

22
#>216 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:12AM

22
#>216 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:13AM

23
#>224 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:10AM

25
#>237 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:05AM

26
#>262 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:04AM

27
#>286 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:01AM

28
#>319 - Aaron Fresh / @AaronFresh7

09/13/2014 at 09:00AM

29
#>343 - Aaron Fresh / @AaronFresh7

09/13/2014 at 08:59AM

33
#>520 - Aaron Fresh / @AaronFresh7

09/13/2014 at 08:57AM

35
#>576 - Aaron Fresh / @AaronFresh7

09/13/2014 at 08:56AM