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

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

695 active golfers, 3454 entries

Solutions by @daraz999:
19
#103 - Darius Smaliukas / @daraz999

11/29/2015 at 04:24PM

21
#>203 - Darius Smaliukas / @daraz999

11/29/2015 at 04:22PM

22
#>217 - Darius Smaliukas / @daraz999

11/29/2015 at 04:21PM

23
#>226 - Darius Smaliukas / @daraz999

11/29/2015 at 04:20PM

25
#>241 - Darius Smaliukas / @daraz999

11/29/2015 at 04:12PM

26
#>265 - Darius Smaliukas / @daraz999

11/29/2015 at 04:09PM

27
#>289 - Darius Smaliukas / @daraz999

11/29/2015 at 04:07PM

28
#>323 - Darius Smaliukas / @daraz999

11/29/2015 at 04:05PM

29
#>345 - Darius Smaliukas / @daraz999

11/29/2015 at 04:05PM

30
#>373 - Darius Smaliukas / @daraz999

11/29/2015 at 04:03PM

31
#>430 - Darius Smaliukas / @daraz999

11/29/2015 at 04:02PM

32
#>484 - Darius Smaliukas / @daraz999

11/29/2015 at 04:01PM

33
#>524 - Darius Smaliukas / @daraz999

11/29/2015 at 03:59PM

34
#>565 - Darius Smaliukas / @daraz999

11/29/2015 at 03:56PM