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

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

710 active golfers, 3566 entries

Solutions by @haodeng:
21
#206 - Hao Deng / @haodeng

06/15/2015 at 12:21PM

22
#>224 - Hao Deng / @haodeng

06/15/2015 at 12:20PM

23
#>233 - Hao Deng / @haodeng

06/15/2015 at 12:17PM

25
#>248 - Hao Deng / @haodeng

06/15/2015 at 12:16PM

26
#>272 - Hao Deng / @haodeng

06/15/2015 at 12:13PM

27
#>298 - Hao Deng / @haodeng

06/15/2015 at 12:11PM

28
#>332 - Hao Deng / @haodeng

06/15/2015 at 12:09PM

29
#>353 - Hao Deng / @haodeng

06/15/2015 at 12:06PM

30
#>380 - Hao Deng / @haodeng

06/15/2015 at 12:04PM

31
#>433 - Hao Deng / @haodeng

06/15/2015 at 12:02PM

32
#>493 - Hao Deng / @haodeng

06/15/2015 at 12:01PM

33
#>534 - Hao Deng / @haodeng

06/15/2015 at 11:53AM

34
#>575 - Hao Deng / @haodeng

06/15/2015 at 11:50AM

35
#>590 - Hao Deng / @haodeng

06/15/2015 at 11:48AM

44
#>659 - Hao Deng / @haodeng

06/13/2015 at 11:43AM