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

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

692 active golfers, 3444 entries

Solutions by @KaizenSoze70:
23
#226 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:55PM

25
#>242 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:51PM

27
#>289 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:47PM

28
#>324 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:17PM

30
#>375 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:13PM

32
#>486 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:10PM

33
#>526 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:14PM

37
#>601 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:01PM

42
#>630 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:05PM

44
#>644 - Ben Hill / @KaizenSoze70

05/21/2016 at 09:31PM