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

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

702 active golfers, 3520 entries

Solutions by @trxdbg:
19
#123 - trx / @trxdbg

10/11/2016 at 04:19PM

19
#>123 - trx / @trxdbg

10/12/2016 at 04:36AM

21
#>209 - trx / @trxdbg

10/11/2016 at 04:17PM

22
#>222 - trx / @trxdbg

10/11/2016 at 04:16PM

23
#>230 - trx / @trxdbg

10/11/2016 at 04:14PM

24
#>236 - trx / @trxdbg

10/11/2016 at 04:11PM

25
#>247 - trx / @trxdbg

10/11/2016 at 04:09PM

26
#>269 - trx / @trxdbg

10/11/2016 at 03:55PM