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

702 active golfers, 3520 entries

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

02/05/2014 at 05:15AM

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

02/05/2014 at 05:10AM

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

02/05/2014 at 05:03AM

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

02/05/2014 at 05:06AM

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

02/05/2014 at 04:59AM

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

02/05/2014 at 04:56AM

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

01/31/2014 at 02:45AM

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

01/31/2014 at 02:42AM

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

01/31/2014 at 02:29AM

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

01/31/2014 at 02:26AM

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

01/31/2014 at 01:58AM

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

01/31/2014 at 02:51AM

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

01/31/2014 at 01:55AM

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

01/31/2014 at 01:54AM