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

702 active golfers, 3520 entries

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

02/16/2015 at 03:31AM

22
#>220 - xieyh11 / @xieyh11

02/16/2015 at 03:30AM

23
#>228 - xieyh11 / @xieyh11

02/16/2015 at 03:29AM

25
#>243 - xieyh11 / @xieyh11

02/16/2015 at 03:28AM

26
#>267 - xieyh11 / @xieyh11

02/16/2015 at 03:27AM

27
#>292 - xieyh11 / @xieyh11

02/16/2015 at 03:20AM

27
#>292 - xieyh11 / @xieyh11

02/16/2015 at 03:21AM

28
#>325 - xieyh11 / @xieyh11

02/16/2015 at 03:19AM

29
#>348 - xieyh11 / @xieyh11

02/16/2015 at 03:19AM

30
#>371 - xieyh11 / @xieyh11

02/16/2015 at 03:17AM

31
#>425 - xieyh11 / @xieyh11

02/16/2015 at 03:13AM

32
#>487 - xieyh11 / @xieyh11

02/16/2015 at 03:12AM

33
#>528 - xieyh11 / @xieyh11

02/16/2015 at 03:10AM

34
#>568 - xieyh11 / @xieyh11

02/16/2015 at 03:06AM

35
#>585 - xieyh11 / @xieyh11

02/16/2015 at 03:04AM

36
#>596 - xieyh11 / @xieyh11

02/16/2015 at 02:59AM