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 @18kehops:

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

692 active golfers, 3444 entries

Solutions by @18kehops:
19
#105 - Daniel Suh / @18kehops

02/01/2016 at 01:08PM

19
#>105 - Daniel Suh / @18kehops

02/01/2016 at 01:10PM

19
#>105 - Daniel Suh / @18kehops

02/01/2016 at 01:13PM

21
#>203 - Daniel Suh / @18kehops

02/01/2016 at 01:07PM

22
#>216 - Daniel Suh / @18kehops

02/01/2016 at 01:06PM

23
#>225 - Daniel Suh / @18kehops

02/01/2016 at 01:02PM

25
#>240 - Daniel Suh / @18kehops

02/01/2016 at 01:00PM

26
#>264 - Daniel Suh / @18kehops

02/01/2016 at 12:57PM

27
#>288 - Daniel Suh / @18kehops

02/01/2016 at 12:46PM

27
#>288 - Daniel Suh / @18kehops

02/01/2016 at 12:50PM

28
#>323 - Daniel Suh / @18kehops

02/01/2016 at 12:44PM

29
#>344 - Daniel Suh / @18kehops

02/01/2016 at 12:41PM

30
#>372 - Daniel Suh / @18kehops

02/01/2016 at 12:39PM

31
#>429 - Daniel Suh / @18kehops

02/01/2016 at 12:38PM

32
#>484 - Daniel Suh / @18kehops

02/01/2016 at 12:34PM

33
#>523 - Daniel Suh / @18kehops

02/01/2016 at 12:31PM

34
#>564 - Daniel Suh / @18kehops

02/01/2016 at 12:27PM

35
#>577 - Daniel Suh / @18kehops

02/01/2016 at 12:30PM