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

703 active golfers, 3522 entries

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

02/21/2014 at 04:55PM

21
#>200 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:53PM

22
#>218 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:52PM

24
#>235 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:48PM

26
#>263 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:46PM

27
#>290 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:44PM

28
#>315 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:43PM

29
#>343 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:40PM

30
#>366 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:35PM

31
#>410 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:33PM

32
#>473 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:29PM

33
#>521 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:27PM

34
#>556 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:23PM

37
#>605 - Rajit Singh / @rajitbsingh

02/21/2014 at 04:23PM