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

702 active golfers, 3520 entries

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

02/21/2014 at 04:55PM

21
#>199 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:53PM

22
#>217 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:52PM

24
#>234 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:48PM

26
#>262 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:46PM

27
#>289 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:44PM

28
#>314 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:43PM

29
#>342 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:40PM

30
#>365 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:35PM

31
#>409 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:33PM

32
#>472 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:29PM

33
#>520 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:27PM

34
#>555 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:23PM

37
#>604 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:23PM