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

709 active golfers, 3565 entries

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

06/15/2015 at 12:21PM

22
#>223 - Hao Deng / @haodeng

06/15/2015 at 12:20PM

23
#>232 - Hao Deng / @haodeng

06/15/2015 at 12:17PM

25
#>247 - Hao Deng / @haodeng

06/15/2015 at 12:16PM

26
#>271 - Hao Deng / @haodeng

06/15/2015 at 12:13PM

27
#>297 - Hao Deng / @haodeng

06/15/2015 at 12:11PM

28
#>331 - Hao Deng / @haodeng

06/15/2015 at 12:09PM

29
#>352 - Hao Deng / @haodeng

06/15/2015 at 12:06PM

30
#>379 - Hao Deng / @haodeng

06/15/2015 at 12:04PM

31
#>432 - Hao Deng / @haodeng

06/15/2015 at 12:02PM

32
#>492 - Hao Deng / @haodeng

06/15/2015 at 12:01PM

33
#>533 - Hao Deng / @haodeng

06/15/2015 at 11:53AM

34
#>574 - Hao Deng / @haodeng

06/15/2015 at 11:50AM

35
#>589 - Hao Deng / @haodeng

06/15/2015 at 11:48AM

44
#>658 - Hao Deng / @haodeng

06/13/2015 at 11:43AM