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

678 active golfers, 3350 entries

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

02/05/2014 at 05:15AM

21
#>187 - Jonny / @Jonnytron

02/05/2014 at 05:10AM

22
#>205 - Jonny / @Jonnytron

02/05/2014 at 05:03AM

22
#>205 - Jonny / @Jonnytron

02/05/2014 at 05:06AM

24
#>221 - Jonny / @Jonnytron

02/05/2014 at 04:59AM

26
#>245 - Jonny / @Jonnytron

02/05/2014 at 04:56AM

27
#>273 - Jonny / @Jonnytron

01/31/2014 at 02:45AM

28
#>298 - Jonny / @Jonnytron

01/31/2014 at 02:42AM

29
#>327 - Jonny / @Jonnytron

01/31/2014 at 02:29AM

31
#>391 - Jonny / @Jonnytron

01/31/2014 at 02:26AM

33
#>496 - Jonny / @Jonnytron

01/31/2014 at 01:58AM

34
#>532 - Jonny / @Jonnytron

01/31/2014 at 02:51AM

40
#>601 - Jonny / @Jonnytron

01/31/2014 at 01:55AM

92
#>674 - Jonny / @Jonnytron

01/31/2014 at 01:54AM