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

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

709 active golfers, 3565 entries

Solutions by @Jonnytron:
19
#48 - Jonny - Male 2.0.37 / @Jonnytron

02/05/2014 at 05:15AM

21
#>202 - Jonny - Male 2.0.37 / @Jonnytron

02/05/2014 at 05:10AM

22
#>220 - Jonny - Male 2.0.37 / @Jonnytron

02/05/2014 at 05:03AM

22
#>220 - Jonny - Male 2.0.37 / @Jonnytron

02/05/2014 at 05:06AM

24
#>238 - Jonny - Male 2.0.37 / @Jonnytron

02/05/2014 at 04:59AM

26
#>262 - Jonny - Male 2.0.37 / @Jonnytron

02/05/2014 at 04:56AM

27
#>291 - Jonny - Male 2.0.37 / @Jonnytron

01/31/2014 at 02:45AM

28
#>316 - Jonny - Male 2.0.37 / @Jonnytron

01/31/2014 at 02:42AM

29
#>345 - Jonny - Male 2.0.37 / @Jonnytron

01/31/2014 at 02:29AM

31
#>410 - Jonny - Male 2.0.37 / @Jonnytron

01/31/2014 at 02:26AM

33
#>519 - Jonny - Male 2.0.37 / @Jonnytron

01/31/2014 at 01:58AM

34
#>556 - Jonny - Male 2.0.37 / @Jonnytron

01/31/2014 at 02:51AM

40
#>628 - Jonny - Male 2.0.37 / @Jonnytron

01/31/2014 at 01:55AM

92
#>705 - Jonny - Male 2.0.37 / @Jonnytron

01/31/2014 at 01:54AM