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

692 active golfers, 3444 entries

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

07/23/2014 at 02:54AM

21
#>196 - Kelsey Ando / @d_chan42

07/23/2014 at 02:53AM

22
#>215 - Kelsey Ando / @d_chan42

07/23/2014 at 02:52AM

23
#>224 - Kelsey Ando / @d_chan42

07/23/2014 at 02:49AM

25
#>237 - Kelsey Ando / @d_chan42

07/23/2014 at 02:46AM

26
#>262 - Kelsey Ando / @d_chan42

07/23/2014 at 02:45AM

27
#>285 - Kelsey Ando / @d_chan42

07/23/2014 at 02:41AM

28
#>318 - Kelsey Ando / @d_chan42

07/22/2014 at 03:27AM

29
#>342 - Kelsey Ando / @d_chan42

07/22/2014 at 03:26AM

30
#>364 - Kelsey Ando / @d_chan42

07/22/2014 at 03:21AM

31
#>416 - Kelsey Ando / @d_chan42

07/22/2014 at 03:18AM

32
#>475 - Kelsey Ando / @d_chan42

07/22/2014 at 03:13AM

33
#>519 - Kelsey Ando / @d_chan42

07/22/2014 at 03:11AM

34
#>555 - Kelsey Ando / @d_chan42

07/22/2014 at 02:46AM