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

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

709 active golfers, 3565 entries

Solutions by @kantamana:
19
#186 - kantamana / @kantamana

04/25/2026 at 06:09PM

20
#>196 - kantamana / @kantamana

04/25/2026 at 06:07PM

21
#>217 - kantamana / @kantamana

04/25/2026 at 06:05PM

22
#>229 - kantamana / @kantamana

04/25/2026 at 06:05PM

23
#>236 - kantamana / @kantamana

04/25/2026 at 06:03PM

24
#>240 - kantamana / @kantamana

04/25/2026 at 06:02PM

25
#>254 - kantamana / @kantamana

04/25/2026 at 06:00PM

26
#>285 - kantamana / @kantamana

04/25/2026 at 05:59PM

27
#>306 - kantamana / @kantamana

04/25/2026 at 05:58PM

28
#>338 - kantamana / @kantamana

04/25/2026 at 05:55PM

28
#>338 - kantamana / @kantamana

04/25/2026 at 05:56PM

29
#>356 - kantamana / @kantamana

04/25/2026 at 05:54PM

30
#>389 - kantamana / @kantamana

04/25/2026 at 05:50PM

30
#>389 - kantamana / @kantamana

04/25/2026 at 05:52PM

31
#>457 - kantamana / @kantamana

04/25/2026 at 03:48PM

32
#>506 - kantamana / @kantamana

04/25/2026 at 03:47PM