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

692 active golfers, 3444 entries

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

06/09/2014 at 12:27AM

21
#>196 - Robert Bruce / @therealrobru

06/09/2014 at 12:18AM

23
#>224 - Robert Bruce / @therealrobru

06/09/2014 at 12:15AM

25
#>237 - Robert Bruce / @therealrobru

06/09/2014 at 12:11AM

25
#>237 - Robert Bruce / @therealrobru

06/09/2014 at 12:13AM

26
#>260 - Robert Bruce / @therealrobru

06/09/2014 at 12:04AM

27
#>285 - Robert Bruce / @therealrobru

06/08/2014 at 04:52PM

27
#>285 - Robert Bruce / @therealrobru

06/08/2014 at 04:55PM

28
#>314 - Robert Bruce / @therealrobru

06/08/2014 at 04:44PM

29
#>342 - Robert Bruce / @therealrobru

06/08/2014 at 04:43PM

33
#>518 - Robert Bruce / @therealrobru

06/08/2014 at 04:42PM

34
#>554 - Robert Bruce / @therealrobru

06/08/2014 at 04:40PM

46
#>650 - Robert Bruce / @therealrobru

06/08/2014 at 04:39PM