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

702 active golfers, 3520 entries

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

12/01/2014 at 03:13AM

21
#>200 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:11AM

22
#>220 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:10AM

23
#>228 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:09AM

24
#>234 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:09AM

25
#>242 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:08AM

26
#>267 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:06AM

27
#>291 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:04AM

28
#>324 - Ivan Brennan / @ivanbrennan

12/01/2014 at 03:00AM

29
#>348 - Ivan Brennan / @ivanbrennan

12/01/2014 at 02:57AM

30
#>371 - Ivan Brennan / @ivanbrennan

12/01/2014 at 02:53AM

50
#>673 - Ivan Brennan / @ivanbrennan

12/01/2014 at 02:49AM