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

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

702 active golfers, 3520 entries

Solutions by @siddhanathan:
19
#70 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:56PM

21
#>200 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:55PM

22
#>219 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:55PM

23
#>228 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:54PM

25
#>241 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:54PM

26
#>266 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:53PM

27
#>290 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:52PM

28
#>322 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:51PM

29
#>347 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:50PM

30
#>369 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:49PM

31
#>420 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:48PM

32
#>480 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:47PM

33
#>526 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:46PM

34
#>563 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:45PM