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

702 active golfers, 3520 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
#>204 - skrobul / @skrobul

08/15/2015 at 10:50PM

22
#>220 - skrobul / @skrobul

08/15/2015 at 10:47PM

23
#>228 - skrobul / @skrobul

08/15/2015 at 10:46PM

25
#>244 - skrobul / @skrobul

08/15/2015 at 10:45PM

26
#>267 - skrobul / @skrobul

08/15/2015 at 10:43PM

27
#>293 - skrobul / @skrobul

08/15/2015 at 10:42PM

28
#>327 - skrobul / @skrobul

08/15/2015 at 10:40PM

29
#>348 - skrobul / @skrobul

08/15/2015 at 10:37PM

30
#>376 - skrobul / @skrobul

08/15/2015 at 10:36PM

31
#>429 - skrobul / @skrobul

08/15/2015 at 10:31PM

32
#>488 - skrobul / @skrobul

08/15/2015 at 10:29PM