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

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

702 active golfers, 3520 entries

Solutions by @jdupont655:
19
#117 - jdupont655 / @jdupont655

09/02/2016 at 09:14AM

21
#>209 - jdupont655 / @jdupont655

09/02/2016 at 09:12AM

22
#>222 - jdupont655 / @jdupont655

09/02/2016 at 09:11AM

23
#>230 - jdupont655 / @jdupont655

09/02/2016 at 09:10AM

25
#>247 - jdupont655 / @jdupont655

09/02/2016 at 09:09AM

26
#>269 - jdupont655 / @jdupont655

09/02/2016 at 09:07AM

28
#>329 - jdupont655 / @jdupont655

09/02/2016 at 09:06AM

30
#>380 - jdupont655 / @jdupont655

09/02/2016 at 09:04AM

31
#>438 - jdupont655 / @jdupont655

09/02/2016 at 09:03AM

36
#>601 - jdupont655 / @jdupont655

09/02/2016 at 01:51AM