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

703 active golfers, 3522 entries

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

05/22/2016 at 02:55PM

25
#>247 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:51PM

27
#>295 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:47PM

28
#>330 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:17PM

30
#>381 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:13PM

32
#>493 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:10PM

33
#>534 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:14PM

37
#>610 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:01PM

42
#>641 - Ben Hill / @KaizenSoze70

05/22/2016 at 02:05PM

44
#>655 - Ben Hill / @KaizenSoze70

05/21/2016 at 09:31PM