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

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

702 active golfers, 3520 entries

Solutions by @JoshuaAppelman:
19
#32 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 08:14PM

20
#>185 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 08:12PM

22
#>216 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 08:11PM

26
#>256 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 08:09PM

27
#>285 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 08:08PM

28
#>310 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 08:04PM

29
#>339 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 08:02PM

31
#>399 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 07:58PM

38
#>617 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 07:57PM

44
#>651 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 07:53PM

46
#>660 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 07:56PM

164
#>702 - Joshua Appelman / @JoshuaAppelman

12/20/2013 at 07:51PM