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

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

702 active golfers, 3520 entries

Solutions by @JamesDScriven:
19
#23 - James Scriven / @JamesDScriven

11/16/2013 at 01:40PM

21
#>197 - James Scriven / @JamesDScriven

11/16/2013 at 01:39PM

26
#>255 - James Scriven / @JamesDScriven

11/16/2013 at 01:37PM

28
#>307 - James Scriven / @JamesDScriven

11/16/2013 at 12:43PM

29
#>337 - James Scriven / @JamesDScriven

11/16/2013 at 12:37PM

31
#>393 - James Scriven / @JamesDScriven

11/16/2013 at 12:35PM

32
#>458 - James Scriven / @JamesDScriven

11/16/2013 at 12:27PM

34
#>538 - James Scriven / @JamesDScriven

11/11/2013 at 04:43PM

36
#>591 - James Scriven / @JamesDScriven

11/16/2013 at 12:23PM