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

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

710 active golfers, 3566 entries

Solutions by @low_ghost_clone:
19
#83 - low_ghost / @low_ghost_clone

01/17/2015 at 11:08PM

21
#>204 - low_ghost / @low_ghost_clone

01/17/2015 at 11:07PM

22
#>224 - low_ghost / @low_ghost_clone

01/17/2015 at 11:05PM

23
#>233 - low_ghost / @low_ghost_clone

01/17/2015 at 11:04PM

25
#>248 - low_ghost / @low_ghost_clone

01/17/2015 at 11:02PM

26
#>272 - low_ghost / @low_ghost_clone

01/17/2015 at 11:01PM

27
#>297 - low_ghost / @low_ghost_clone

01/17/2015 at 10:59PM

28
#>330 - low_ghost / @low_ghost_clone

01/17/2015 at 10:57PM

29
#>353 - low_ghost / @low_ghost_clone

01/17/2015 at 10:56PM

30
#>376 - low_ghost / @low_ghost_clone

01/17/2015 at 10:54PM

31
#>429 - low_ghost / @low_ghost_clone

01/17/2015 at 10:53PM

32
#>492 - low_ghost / @low_ghost_clone

01/17/2015 at 10:50PM

33
#>533 - low_ghost / @low_ghost_clone

01/17/2015 at 10:46PM

34
#>573 - low_ghost / @low_ghost_clone

01/17/2015 at 10:44PM

34
#>573 - low_ghost / @low_ghost_clone

01/17/2015 at 10:48PM