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

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

702 active golfers, 3520 entries

Solutions by @biinari:
19
#125 - Bill Ruddock / @biinari

10/31/2016 at 03:36AM

21
#>209 - Bill Ruddock / @biinari

10/31/2016 at 03:34AM

21
#>209 - Bill Ruddock / @biinari

10/31/2016 at 03:36AM

22
#>222 - Bill Ruddock / @biinari

10/31/2016 at 03:34AM

23
#>230 - Bill Ruddock / @biinari

10/31/2016 at 03:32AM

24
#>236 - Bill Ruddock / @biinari

10/31/2016 at 03:28AM

25
#>247 - Bill Ruddock / @biinari

10/31/2016 at 03:27AM

26
#>270 - Bill Ruddock / @biinari

10/31/2016 at 03:24AM

27
#>294 - Bill Ruddock / @biinari

10/31/2016 at 03:21AM

29
#>351 - Bill Ruddock / @biinari

10/31/2016 at 03:19AM

31
#>438 - Bill Ruddock / @biinari

10/31/2016 at 03:18AM

32
#>494 - Bill Ruddock / @biinari

10/31/2016 at 03:10AM