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

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

685 active golfers, 3402 entries

Solutions by @neVexa:
19
#79 - Johannes H. / @neVexa

09/22/2014 at 08:47PM

20
#>177 - Johannes H. / @neVexa

09/22/2014 at 08:46PM

23
#>219 - Johannes H. / @neVexa

09/22/2014 at 08:44PM

25
#>232 - Johannes H. / @neVexa

09/22/2014 at 08:43PM

26
#>257 - Johannes H. / @neVexa

09/22/2014 at 08:41PM

27
#>281 - Johannes H. / @neVexa

09/22/2014 at 08:40PM

28
#>314 - Johannes H. / @neVexa

09/22/2014 at 08:37PM

29
#>338 - Johannes H. / @neVexa

09/22/2014 at 08:36PM

30
#>361 - Johannes H. / @neVexa

09/22/2014 at 08:33PM

31
#>411 - Johannes H. / @neVexa

09/22/2014 at 08:31PM

32
#>472 - Johannes H. / @neVexa

09/22/2014 at 08:25PM