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

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

703 active golfers, 3522 entries

Solutions by @playwithit42:
19
#69 - playalong / @playwithit42

07/07/2014 at 12:34PM

21
#>201 - playalong / @playwithit42

07/07/2014 at 12:32PM

22
#>220 - playalong / @playwithit42

07/07/2014 at 12:30PM

23
#>229 - playalong / @playwithit42

07/07/2014 at 12:28PM

25
#>242 - playalong / @playwithit42

07/07/2014 at 12:24PM

25
#>242 - playalong / @playwithit42

07/07/2014 at 12:26PM

31
#>421 - playalong / @playwithit42

07/07/2014 at 12:18PM

32
#>480 - playalong / @playwithit42

07/07/2014 at 12:10PM

32
#>480 - playalong / @playwithit42

07/07/2014 at 12:14PM

33
#>526 - playalong / @playwithit42

07/07/2014 at 12:16PM

35
#>584 - playalong / @playwithit42

07/07/2014 at 12:02PM