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

702 active golfers, 3520 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
#>207 - Daniel Suh / @18kehops

02/01/2016 at 01:07PM

22
#>220 - Daniel Suh / @18kehops

02/01/2016 at 01:06PM

23
#>229 - Daniel Suh / @18kehops

02/01/2016 at 01:02PM

25
#>244 - Daniel Suh / @18kehops

02/01/2016 at 01:00PM

26
#>268 - Daniel Suh / @18kehops

02/01/2016 at 12:57PM

27
#>293 - Daniel Suh / @18kehops

02/01/2016 at 12:46PM

27
#>293 - Daniel Suh / @18kehops

02/01/2016 at 12:50PM

28
#>328 - Daniel Suh / @18kehops

02/01/2016 at 12:44PM

29
#>349 - Daniel Suh / @18kehops

02/01/2016 at 12:41PM

30
#>377 - Daniel Suh / @18kehops

02/01/2016 at 12:39PM

31
#>434 - Daniel Suh / @18kehops

02/01/2016 at 12:38PM

32
#>490 - Daniel Suh / @18kehops

02/01/2016 at 12:34PM

33
#>530 - Daniel Suh / @18kehops

02/01/2016 at 12:31PM

34
#>572 - Daniel Suh / @18kehops

02/01/2016 at 12:27PM

35
#>585 - Daniel Suh / @18kehops

02/01/2016 at 12:30PM