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

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

692 active golfers, 3444 entries

Solutions by @daniel_koker:
19
#144 - Daniël De Koker / @daniel_koker

06/28/2018 at 01:28PM

21
#>209 - Daniël De Koker / @daniel_koker

06/28/2018 at 01:25PM

22
#>220 - Daniël De Koker / @daniel_koker

06/28/2018 at 01:24PM

23
#>227 - Daniël De Koker / @daniel_koker

06/28/2018 at 01:23PM

25
#>243 - Daniël De Koker / @daniel_koker

06/28/2018 at 01:21PM

26
#>269 - Daniël De Koker / @daniel_koker

06/28/2018 at 01:10PM

30
#>377 - Daniël De Koker / @daniel_koker

06/28/2018 at 01:06PM

31
#>435 - Daniël De Koker / @daniel_koker

06/28/2018 at 01:04PM

32
#>490 - Daniël De Koker / @daniel_koker

06/28/2018 at 12:56PM

32
#>490 - Daniël De Koker / @daniel_koker

06/28/2018 at 01:02PM