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

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

702 active golfers, 3520 entries

Solutions by @mgiuffrida:
19
#86 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 07:10AM

21
#>201 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 07:08AM

22
#>220 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:48AM

22
#>220 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:49AM

24
#>235 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:44AM

24
#>235 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:45AM

25
#>243 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:38AM

27
#>292 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:24AM

28
#>325 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:36AM

29
#>348 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:21AM

30
#>371 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 05:57AM

30
#>371 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:12AM

31
#>426 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 05:56AM

37
#>607 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 06:00AM

47
#>667 - Michael Giuffrida / @mgiuffrida

02/22/2015 at 05:54AM