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 @zonza_mas:

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

692 active golfers, 3444 entries

Solutions by @zonza_mas:
19
#99 - oscar / @zonza_mas

09/04/2015 at 02:45PM

21
#>201 - oscar / @zonza_mas

09/04/2015 at 02:43PM

22
#>216 - oscar / @zonza_mas

09/04/2015 at 02:41PM

23
#>224 - oscar / @zonza_mas

09/04/2015 at 02:38PM

25
#>240 - oscar / @zonza_mas

09/04/2015 at 02:34PM

26
#>263 - oscar / @zonza_mas

09/04/2015 at 02:34PM

27
#>288 - oscar / @zonza_mas

09/04/2015 at 02:31PM

28
#>322 - oscar / @zonza_mas

09/04/2015 at 02:29PM

29
#>343 - oscar / @zonza_mas

09/04/2015 at 02:16PM

31
#>426 - oscar / @zonza_mas

09/04/2015 at 02:11PM

32
#>482 - oscar / @zonza_mas

09/04/2015 at 01:52PM

33
#>522 - oscar / @zonza_mas

09/04/2015 at 01:43PM

36
#>591 - oscar / @zonza_mas

09/04/2015 at 01:01PM