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

695 active golfers, 3454 entries

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

07/15/2014 at 06:56PM

21
#>197 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:55PM

22
#>216 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:55PM

23
#>225 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:54PM

25
#>238 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:54PM

26
#>263 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:53PM

27
#>286 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:52PM

28
#>318 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:51PM

29
#>343 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:50PM

30
#>365 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:49PM

31
#>416 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:48PM

32
#>475 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:47PM

33
#>520 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:46PM

34
#>556 - Siddhanathan S. / @siddhanathan

07/15/2014 at 06:45PM