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

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

692 active golfers, 3444 entries

Solutions by @delonleonard:
19
#163 - Delon / @delonleonard

12/30/2019 at 01:06PM

20
#>186 - Delon / @delonleonard

12/30/2019 at 01:05PM

21
#>210 - Delon / @delonleonard

12/30/2019 at 01:05PM

22
#>220 - Delon / @delonleonard

12/30/2019 at 01:03PM

23
#>227 - Delon / @delonleonard

12/30/2019 at 01:03PM

24
#>232 - Delon / @delonleonard

12/30/2019 at 01:02PM

25
#>244 - Delon / @delonleonard

12/30/2019 at 01:02PM

26
#>273 - Delon / @delonleonard

12/30/2019 at 01:01PM

27
#>295 - Delon / @delonleonard

12/30/2019 at 01:00PM

28
#>328 - Delon / @delonleonard

12/30/2019 at 01:00PM

29
#>347 - Delon / @delonleonard

12/30/2019 at 12:56PM

30
#>379 - Delon / @delonleonard

12/30/2019 at 12:55PM

31
#>442 - Delon / @delonleonard

12/30/2019 at 12:53PM

32
#>493 - Delon / @delonleonard

12/30/2019 at 12:50PM

33
#>529 - Delon / @delonleonard

12/30/2019 at 12:48PM

38
#>612 - Delon / @delonleonard

12/30/2019 at 12:45PM

40
#>616 - Delon / @delonleonard

12/30/2019 at 06:43AM