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

703 active golfers, 3522 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
#>208 - Daniel Suh / @18kehops

02/01/2016 at 01:07PM

22
#>221 - Daniel Suh / @18kehops

02/01/2016 at 01:06PM

23
#>230 - Daniel Suh / @18kehops

02/01/2016 at 01:02PM

25
#>245 - Daniel Suh / @18kehops

02/01/2016 at 01:00PM

26
#>269 - Daniel Suh / @18kehops

02/01/2016 at 12:57PM

27
#>294 - Daniel Suh / @18kehops

02/01/2016 at 12:46PM

27
#>294 - Daniel Suh / @18kehops

02/01/2016 at 12:50PM

28
#>329 - Daniel Suh / @18kehops

02/01/2016 at 12:44PM

29
#>350 - Daniel Suh / @18kehops

02/01/2016 at 12:41PM

30
#>378 - Daniel Suh / @18kehops

02/01/2016 at 12:39PM

31
#>435 - Daniel Suh / @18kehops

02/01/2016 at 12:38PM

32
#>491 - Daniel Suh / @18kehops

02/01/2016 at 12:34PM

33
#>531 - Daniel Suh / @18kehops

02/01/2016 at 12:31PM

34
#>573 - Daniel Suh / @18kehops

02/01/2016 at 12:27PM

35
#>586 - Daniel Suh / @18kehops

02/01/2016 at 12:30PM