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

692 active golfers, 3444 entries

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

02/05/2014 at 05:15AM

21
#>195 - Jonny / @Jonnytron

02/05/2014 at 05:10AM

22
#>213 - Jonny / @Jonnytron

02/05/2014 at 05:03AM

22
#>213 - Jonny / @Jonnytron

02/05/2014 at 05:06AM

24
#>230 - Jonny / @Jonnytron

02/05/2014 at 04:59AM

26
#>254 - Jonny / @Jonnytron

02/05/2014 at 04:56AM

27
#>282 - Jonny / @Jonnytron

01/31/2014 at 02:45AM

28
#>307 - Jonny / @Jonnytron

01/31/2014 at 02:42AM

29
#>336 - Jonny / @Jonnytron

01/31/2014 at 02:29AM

31
#>401 - Jonny / @Jonnytron

01/31/2014 at 02:26AM

33
#>508 - Jonny / @Jonnytron

01/31/2014 at 01:58AM

34
#>544 - Jonny / @Jonnytron

01/31/2014 at 02:51AM

40
#>615 - Jonny / @Jonnytron

01/31/2014 at 01:55AM

92
#>688 - Jonny / @Jonnytron

01/31/2014 at 01:54AM