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

692 active golfers, 3444 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
#>200 - skrobul / @skrobul

08/15/2015 at 10:50PM

22
#>216 - skrobul / @skrobul

08/15/2015 at 10:47PM

23
#>224 - skrobul / @skrobul

08/15/2015 at 10:46PM

25
#>240 - skrobul / @skrobul

08/15/2015 at 10:45PM

26
#>263 - skrobul / @skrobul

08/15/2015 at 10:43PM

27
#>288 - skrobul / @skrobul

08/15/2015 at 10:42PM

28
#>322 - skrobul / @skrobul

08/15/2015 at 10:40PM

29
#>343 - skrobul / @skrobul

08/15/2015 at 10:37PM

30
#>371 - skrobul / @skrobul

08/15/2015 at 10:36PM

31
#>424 - skrobul / @skrobul

08/15/2015 at 10:31PM

32
#>482 - skrobul / @skrobul

08/15/2015 at 10:29PM