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

692 active golfers, 3444 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
#>187 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:45PM

21
#>210 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:44PM

22
#>220 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:43PM

23
#>227 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:42PM

24
#>232 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:40PM

25
#>245 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:39PM

26
#>274 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:36PM

27
#>296 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:33PM

27
#>296 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:35PM

28
#>328 - Arthur Goodman / @ArthurGoodman3

05/05/2020 at 07:31PM