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

702 active golfers, 3520 entries

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

12/30/2019 at 01:06PM

20
#>190 - Delon / @delonleonard

12/30/2019 at 01:05PM

21
#>214 - Delon / @delonleonard

12/30/2019 at 01:05PM

22
#>224 - Delon / @delonleonard

12/30/2019 at 01:03PM

23
#>231 - Delon / @delonleonard

12/30/2019 at 01:03PM

24
#>236 - Delon / @delonleonard

12/30/2019 at 01:02PM

25
#>248 - Delon / @delonleonard

12/30/2019 at 01:02PM

26
#>277 - Delon / @delonleonard

12/30/2019 at 01:01PM

27
#>300 - Delon / @delonleonard

12/30/2019 at 01:00PM

28
#>333 - Delon / @delonleonard

12/30/2019 at 01:00PM

29
#>352 - Delon / @delonleonard

12/30/2019 at 12:56PM

30
#>384 - Delon / @delonleonard

12/30/2019 at 12:55PM

31
#>447 - Delon / @delonleonard

12/30/2019 at 12:53PM

32
#>499 - Delon / @delonleonard

12/30/2019 at 12:50PM

33
#>536 - Delon / @delonleonard

12/30/2019 at 12:48PM

38
#>621 - Delon / @delonleonard

12/30/2019 at 12:45PM

40
#>625 - Delon / @delonleonard

12/30/2019 at 06:43AM