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

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

702 active golfers, 3520 entries

Solutions by @zonza_mas:
19
#99 - oscar / @zonza_mas

09/04/2015 at 02:45PM

21
#>205 - oscar / @zonza_mas

09/04/2015 at 02:43PM

22
#>220 - oscar / @zonza_mas

09/04/2015 at 02:41PM

23
#>228 - oscar / @zonza_mas

09/04/2015 at 02:38PM

25
#>244 - oscar / @zonza_mas

09/04/2015 at 02:34PM

26
#>267 - oscar / @zonza_mas

09/04/2015 at 02:34PM

27
#>293 - oscar / @zonza_mas

09/04/2015 at 02:31PM

28
#>327 - oscar / @zonza_mas

09/04/2015 at 02:29PM

29
#>348 - oscar / @zonza_mas

09/04/2015 at 02:16PM

31
#>431 - oscar / @zonza_mas

09/04/2015 at 02:11PM

32
#>488 - oscar / @zonza_mas

09/04/2015 at 01:52PM

33
#>529 - oscar / @zonza_mas

09/04/2015 at 01:43PM

36
#>599 - oscar / @zonza_mas

09/04/2015 at 01:01PM