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

703 active golfers, 3522 entries

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

06/09/2014 at 12:27AM

21
#>201 - Robert Bruce / @therealrobru

06/09/2014 at 12:18AM

23
#>229 - Robert Bruce / @therealrobru

06/09/2014 at 12:15AM

25
#>242 - Robert Bruce / @therealrobru

06/09/2014 at 12:11AM

25
#>242 - Robert Bruce / @therealrobru

06/09/2014 at 12:13AM

26
#>265 - Robert Bruce / @therealrobru

06/09/2014 at 12:04AM

27
#>291 - Robert Bruce / @therealrobru

06/08/2014 at 04:52PM

27
#>291 - Robert Bruce / @therealrobru

06/08/2014 at 04:55PM

28
#>320 - Robert Bruce / @therealrobru

06/08/2014 at 04:44PM

29
#>348 - Robert Bruce / @therealrobru

06/08/2014 at 04:43PM

33
#>526 - Robert Bruce / @therealrobru

06/08/2014 at 04:42PM

34
#>563 - Robert Bruce / @therealrobru

06/08/2014 at 04:40PM

46
#>661 - Robert Bruce / @therealrobru

06/08/2014 at 04:39PM