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

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

692 active golfers, 3444 entries

Solutions by @rajitbsingh:
19
#52 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:55PM

21
#>195 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:53PM

22
#>213 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:52PM

24
#>230 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:48PM

26
#>258 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:46PM

27
#>284 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:44PM

28
#>309 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:43PM

29
#>337 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:40PM

30
#>360 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:35PM

31
#>404 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:33PM

32
#>466 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:29PM

33
#>513 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:27PM

34
#>547 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:23PM

37
#>596 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:23PM