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

702 active golfers, 3520 entries

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

05/22/2016 at 02:55PM

25
#>246 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:51PM

27
#>294 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:47PM

28
#>329 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:17PM

30
#>380 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:13PM

32
#>492 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:10PM

33
#>533 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:14PM

37
#>609 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:01PM

42
#>640 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:05PM

44
#>654 - Ben Hill / @KaizenSoze70

05/21/2016 at 09:31PM