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

702 active golfers, 3520 entries

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

06/28/2018 at 01:28PM

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

06/28/2018 at 01:25PM

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

06/28/2018 at 01:24PM

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

06/28/2018 at 01:23PM

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

06/28/2018 at 01:21PM

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

06/28/2018 at 01:10PM

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

06/28/2018 at 01:06PM

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

06/28/2018 at 01:04PM

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

06/28/2018 at 12:56PM

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

06/28/2018 at 01:02PM