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

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

702 active golfers, 3520 entries

Solutions by @therealrobru:
19
#65 - Robert Bruce / @therealrobru

06/09/2014 at 12:27AM

21
#>200 - Robert Bruce / @therealrobru

06/09/2014 at 12:18AM

23
#>228 - Robert Bruce / @therealrobru

06/09/2014 at 12:15AM

25
#>241 - Robert Bruce / @therealrobru

06/09/2014 at 12:11AM

25
#>241 - Robert Bruce / @therealrobru

06/09/2014 at 12:13AM

26
#>264 - Robert Bruce / @therealrobru

06/09/2014 at 12:04AM

27
#>290 - Robert Bruce / @therealrobru

06/08/2014 at 04:52PM

27
#>290 - Robert Bruce / @therealrobru

06/08/2014 at 04:55PM

28
#>319 - Robert Bruce / @therealrobru

06/08/2014 at 04:44PM

29
#>347 - Robert Bruce / @therealrobru

06/08/2014 at 04:43PM

33
#>525 - Robert Bruce / @therealrobru

06/08/2014 at 04:42PM

34
#>562 - Robert Bruce / @therealrobru

06/08/2014 at 04:40PM

46
#>660 - Robert Bruce / @therealrobru

06/08/2014 at 04:39PM