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

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

692 active golfers, 3444 entries

Solutions by @_schickling:
19
#49 - Johannes Schickling / @_schickling

02/10/2014 at 07:33PM

21
#>195 - Johannes Schickling / @_schickling

02/10/2014 at 07:31PM

22
#>213 - Johannes Schickling / @_schickling

02/10/2014 at 07:21PM

22
#>213 - Johannes Schickling / @_schickling

02/10/2014 at 07:22PM

24
#>230 - Johannes Schickling / @_schickling

02/10/2014 at 07:04PM

26
#>255 - Johannes Schickling / @_schickling

02/10/2014 at 06:51PM

27
#>284 - Johannes Schickling / @_schickling

02/10/2014 at 06:47PM

28
#>308 - Johannes Schickling / @_schickling

02/10/2014 at 10:02AM

30
#>359 - Johannes Schickling / @_schickling

02/10/2014 at 06:46PM

33
#>511 - Johannes Schickling / @_schickling

02/10/2014 at 09:59AM

34
#>547 - Johannes Schickling / @_schickling

02/09/2014 at 09:58PM

35
#>575 - Johannes Schickling / @_schickling

02/09/2014 at 09:25PM