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

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

685 active golfers, 3402 entries

Solutions by @ivanbrennan:
19
#80 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:13AM

21
#>192 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:11AM

22
#>212 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:10AM

23
#>219 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:09AM

24
#>225 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:09AM

25
#>233 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:08AM

26
#>258 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:06AM

27
#>281 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:04AM

28
#>314 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:00AM

29
#>338 - Ivan Brennan / @ivanbrennan

12/01/2014 at 02:57AM

30
#>361 - Ivan Brennan / @ivanbrennan

12/01/2014 at 02:53AM

50
#>656 - Ivan Brennan / @ivanbrennan

12/01/2014 at 02:49AM