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

709 active golfers, 3565 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
#>210 - Daniel Suh / @18kehops

02/01/2016 at 01:07PM

22
#>223 - Daniel Suh / @18kehops

02/01/2016 at 01:06PM

23
#>233 - Daniel Suh / @18kehops

02/01/2016 at 01:02PM

25
#>248 - Daniel Suh / @18kehops

02/01/2016 at 01:00PM

26
#>272 - Daniel Suh / @18kehops

02/01/2016 at 12:57PM

27
#>297 - Daniel Suh / @18kehops

02/01/2016 at 12:46PM

27
#>297 - Daniel Suh / @18kehops

02/01/2016 at 12:50PM

28
#>332 - Daniel Suh / @18kehops

02/01/2016 at 12:44PM

29
#>353 - Daniel Suh / @18kehops

02/01/2016 at 12:41PM

30
#>381 - Daniel Suh / @18kehops

02/01/2016 at 12:39PM

31
#>438 - Daniel Suh / @18kehops

02/01/2016 at 12:38PM

32
#>494 - Daniel Suh / @18kehops

02/01/2016 at 12:34PM

33
#>534 - Daniel Suh / @18kehops

02/01/2016 at 12:31PM

34
#>576 - Daniel Suh / @18kehops

02/01/2016 at 12:27PM

35
#>589 - Daniel Suh / @18kehops

02/01/2016 at 12:30PM