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

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

702 active golfers, 3520 entries

Solutions by @kirjs:
19
#100 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:37PM

21
#>205 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:35PM

22
#>220 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:35PM

23
#>228 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:33PM

25
#>244 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:31PM

26
#>267 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:30PM

27
#>293 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:29PM

28
#>327 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:23PM

29
#>348 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:21PM

30
#>376 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:16PM

31
#>431 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:03PM

32
#>488 - Kirill Cherkashin / @kirjs

09/07/2015 at 10:55PM

32
#>488 - Kirill Cherkashin / @kirjs

09/07/2015 at 10:58PM

32
#>488 - Kirill Cherkashin / @kirjs

09/07/2015 at 11:00PM