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

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

702 active golfers, 3520 entries

Solutions by @d_chan42:
19
#72 - Kelsey Ando / @d_chan42

07/23/2014 at 02:54AM

21
#>200 - Kelsey Ando / @d_chan42

07/23/2014 at 02:53AM

22
#>219 - Kelsey Ando / @d_chan42

07/23/2014 at 02:52AM

23
#>228 - Kelsey Ando / @d_chan42

07/23/2014 at 02:49AM

25
#>241 - Kelsey Ando / @d_chan42

07/23/2014 at 02:46AM

26
#>266 - Kelsey Ando / @d_chan42

07/23/2014 at 02:45AM

27
#>290 - Kelsey Ando / @d_chan42

07/23/2014 at 02:41AM

28
#>323 - Kelsey Ando / @d_chan42

07/22/2014 at 03:27AM

29
#>347 - Kelsey Ando / @d_chan42

07/22/2014 at 03:26AM

30
#>369 - Kelsey Ando / @d_chan42

07/22/2014 at 03:21AM

31
#>421 - Kelsey Ando / @d_chan42

07/22/2014 at 03:18AM

32
#>481 - Kelsey Ando / @d_chan42

07/22/2014 at 03:13AM

33
#>526 - Kelsey Ando / @d_chan42

07/22/2014 at 03:11AM

34
#>563 - Kelsey Ando / @d_chan42

07/22/2014 at 02:46AM