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

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

692 active golfers, 3444 entries

Solutions by @janineist:
19
#107 - Janine Cheng / @janineist

02/13/2016 at 11:40AM

22
#>216 - Janine Cheng / @janineist

02/13/2016 at 11:38AM

23
#>225 - Janine Cheng / @janineist

02/13/2016 at 11:33AM

25
#>240 - Janine Cheng / @janineist

02/13/2016 at 11:30AM

26
#>264 - Janine Cheng / @janineist

02/13/2016 at 11:27AM

29
#>344 - Janine Cheng / @janineist

02/13/2016 at 10:43AM

31
#>429 - Janine Cheng / @janineist

02/13/2016 at 10:17AM

32
#>484 - Janine Cheng / @janineist

02/13/2016 at 09:37AM