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

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

685 active golfers, 3402 entries

Solutions by @skrobul:
19
#97 - skrobul / @skrobul

08/15/2015 at 10:51PM

19
#>97 - skrobul / @skrobul

08/15/2015 at 10:52PM

21
#>196 - skrobul / @skrobul

08/15/2015 at 10:50PM

22
#>212 - skrobul / @skrobul

08/15/2015 at 10:47PM

23
#>219 - skrobul / @skrobul

08/15/2015 at 10:46PM

25
#>235 - skrobul / @skrobul

08/15/2015 at 10:45PM

26
#>258 - skrobul / @skrobul

08/15/2015 at 10:43PM

27
#>283 - skrobul / @skrobul

08/15/2015 at 10:42PM

28
#>317 - skrobul / @skrobul

08/15/2015 at 10:40PM

29
#>338 - skrobul / @skrobul

08/15/2015 at 10:37PM

30
#>366 - skrobul / @skrobul

08/15/2015 at 10:36PM

31
#>419 - skrobul / @skrobul

08/15/2015 at 10:31PM

32
#>477 - skrobul / @skrobul

08/15/2015 at 10:29PM