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

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

702 active golfers, 3520 entries

Solutions by @tryphopp:
21
#207 - retro / @tryphopp

01/15/2016 at 06:06PM

22
#>220 - retro / @tryphopp

01/15/2016 at 06:05PM

23
#>229 - retro / @tryphopp

01/15/2016 at 06:04PM

25
#>244 - retro / @tryphopp

01/15/2016 at 06:03PM

26
#>268 - retro / @tryphopp

01/15/2016 at 06:02PM

27
#>293 - retro / @tryphopp

01/15/2016 at 05:02PM

28
#>327 - retro / @tryphopp

01/15/2016 at 05:01PM

29
#>349 - retro / @tryphopp

01/15/2016 at 05:00PM

30
#>377 - retro / @tryphopp

01/15/2016 at 04:57PM

31
#>434 - retro / @tryphopp

01/15/2016 at 04:51PM