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

703 active golfers, 3522 entries

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

02/16/2015 at 03:31AM

22
#>221 - xieyh11 / @xieyh11

02/16/2015 at 03:30AM

23
#>229 - xieyh11 / @xieyh11

02/16/2015 at 03:29AM

25
#>244 - xieyh11 / @xieyh11

02/16/2015 at 03:28AM

26
#>268 - xieyh11 / @xieyh11

02/16/2015 at 03:27AM

27
#>293 - xieyh11 / @xieyh11

02/16/2015 at 03:20AM

27
#>293 - xieyh11 / @xieyh11

02/16/2015 at 03:21AM

28
#>326 - xieyh11 / @xieyh11

02/16/2015 at 03:19AM

29
#>349 - xieyh11 / @xieyh11

02/16/2015 at 03:19AM

30
#>372 - xieyh11 / @xieyh11

02/16/2015 at 03:17AM

31
#>426 - xieyh11 / @xieyh11

02/16/2015 at 03:13AM

32
#>488 - xieyh11 / @xieyh11

02/16/2015 at 03:12AM

33
#>529 - xieyh11 / @xieyh11

02/16/2015 at 03:10AM

34
#>569 - xieyh11 / @xieyh11

02/16/2015 at 03:06AM

35
#>586 - xieyh11 / @xieyh11

02/16/2015 at 03:04AM

36
#>597 - xieyh11 / @xieyh11

02/16/2015 at 02:59AM