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

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

702 active golfers, 3520 entries

Solutions by @ArthurGoodman3:
19
#168 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:45PM

19
#>168 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 08:13PM

20
#>191 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:45PM

21
#>214 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:44PM

22
#>224 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:43PM

23
#>231 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:42PM

24
#>236 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:40PM

25
#>249 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:39PM

26
#>278 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:36PM

27
#>301 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:33PM

27
#>301 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:35PM

28
#>333 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:31PM