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

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

707 active golfers, 3541 entries

Solutions by @leeren:
21
#207 - LC / @leeren

08/22/2015 at 11:32PM

22
#>222 - LC / @leeren

08/22/2015 at 11:31PM

23
#>231 - LC / @leeren

08/22/2015 at 11:31PM

25
#>247 - LC / @leeren

08/22/2015 at 11:30PM

26
#>270 - LC / @leeren

08/22/2015 at 11:27PM

26
#>270 - LC / @leeren

08/22/2015 at 11:28PM

27
#>296 - LC / @leeren

08/22/2015 at 11:26PM

28
#>330 - LC / @leeren

08/22/2015 at 11:24PM

29
#>351 - LC / @leeren

08/22/2015 at 11:24PM

30
#>379 - LC / @leeren

08/22/2015 at 11:23PM

31
#>432 - LC / @leeren

08/22/2015 at 11:22PM

31
#>432 - LC / @leeren

08/22/2015 at 11:23PM

32
#>491 - LC / @leeren

08/22/2015 at 11:20PM