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

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

692 active golfers, 3444 entries

Solutions by @jpburelle:
21
#196 - Jean-PhilippeBurelle / @jpburelle

02/28/2014 at 03:37AM

23
#>223 - Jean-PhilippeBurelle / @jpburelle

02/28/2014 at 03:36AM

24
#>230 - Jean-PhilippeBurelle / @jpburelle

02/28/2014 at 03:35AM

26
#>258 - Jean-PhilippeBurelle / @jpburelle

02/28/2014 at 03:29AM

27
#>284 - Jean-PhilippeBurelle / @jpburelle

02/28/2014 at 03:28AM

28
#>310 - Jean-PhilippeBurelle / @jpburelle

02/28/2014 at 03:25AM

29
#>337 - Jean-PhilippeBurelle / @jpburelle

02/23/2014 at 06:31PM

29
#>338 - Jean-PhilippeBurelle / @jpburelle

02/28/2014 at 03:24AM

30
#>360 - Jean-PhilippeBurelle / @jpburelle

02/23/2014 at 05:54PM

32
#>466 - Jean-PhilippeBurelle / @jpburelle

02/23/2014 at 05:22PM

34
#>548 - Jean-PhilippeBurelle / @jpburelle

02/28/2014 at 03:21AM