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

692 active golfers, 3444 entries

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

02/16/2015 at 03:31AM

22
#>216 - xieyh11 / @xieyh11

02/16/2015 at 03:30AM

23
#>224 - xieyh11 / @xieyh11

02/16/2015 at 03:29AM

25
#>239 - xieyh11 / @xieyh11

02/16/2015 at 03:28AM

26
#>263 - xieyh11 / @xieyh11

02/16/2015 at 03:27AM

27
#>287 - xieyh11 / @xieyh11

02/16/2015 at 03:20AM

27
#>287 - xieyh11 / @xieyh11

02/16/2015 at 03:21AM

28
#>320 - xieyh11 / @xieyh11

02/16/2015 at 03:19AM

29
#>343 - xieyh11 / @xieyh11

02/16/2015 at 03:19AM

30
#>366 - xieyh11 / @xieyh11

02/16/2015 at 03:17AM

31
#>420 - xieyh11 / @xieyh11

02/16/2015 at 03:13AM

32
#>481 - xieyh11 / @xieyh11

02/16/2015 at 03:12AM

33
#>521 - xieyh11 / @xieyh11

02/16/2015 at 03:10AM

34
#>560 - xieyh11 / @xieyh11

02/16/2015 at 03:06AM

35
#>577 - xieyh11 / @xieyh11

02/16/2015 at 03:04AM

36
#>588 - xieyh11 / @xieyh11

02/16/2015 at 02:59AM