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

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

709 active golfers, 3565 entries

Solutions by @xieyh11:
21
#204 - xieyh11 / @xieyh11

02/16/2015 at 03:31AM

22
#>223 - xieyh11 / @xieyh11

02/16/2015 at 03:30AM

23
#>232 - xieyh11 / @xieyh11

02/16/2015 at 03:29AM

25
#>247 - xieyh11 / @xieyh11

02/16/2015 at 03:28AM

26
#>271 - xieyh11 / @xieyh11

02/16/2015 at 03:27AM

27
#>296 - xieyh11 / @xieyh11

02/16/2015 at 03:20AM

27
#>296 - xieyh11 / @xieyh11

02/16/2015 at 03:21AM

28
#>329 - xieyh11 / @xieyh11

02/16/2015 at 03:19AM

29
#>352 - xieyh11 / @xieyh11

02/16/2015 at 03:19AM

30
#>375 - xieyh11 / @xieyh11

02/16/2015 at 03:17AM

31
#>429 - xieyh11 / @xieyh11

02/16/2015 at 03:13AM

32
#>491 - xieyh11 / @xieyh11

02/16/2015 at 03:12AM

33
#>532 - xieyh11 / @xieyh11

02/16/2015 at 03:10AM

34
#>572 - xieyh11 / @xieyh11

02/16/2015 at 03:06AM

35
#>589 - xieyh11 / @xieyh11

02/16/2015 at 03:04AM

36
#>600 - xieyh11 / @xieyh11

02/16/2015 at 02:59AM