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

692 active golfers, 3444 entries

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

09/22/2014 at 08:47PM

20
#>181 - Johannes H. / @neVexa

09/22/2014 at 08:46PM

23
#>224 - Johannes H. / @neVexa

09/22/2014 at 08:44PM

25
#>237 - Johannes H. / @neVexa

09/22/2014 at 08:43PM

26
#>262 - Johannes H. / @neVexa

09/22/2014 at 08:41PM

27
#>286 - Johannes H. / @neVexa

09/22/2014 at 08:40PM

28
#>319 - Johannes H. / @neVexa

09/22/2014 at 08:37PM

29
#>343 - Johannes H. / @neVexa

09/22/2014 at 08:36PM

30
#>366 - Johannes H. / @neVexa

09/22/2014 at 08:33PM

31
#>416 - Johannes H. / @neVexa

09/22/2014 at 08:31PM

32
#>477 - Johannes H. / @neVexa

09/22/2014 at 08:25PM