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

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

692 active golfers, 3444 entries

Solutions by @shaddycls:
19
#153 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:48PM

19
#>153 - Sherab Giovannini / @shaddycls

05/19/2019 at 12:03AM

20
#>185 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:46PM

21
#>210 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:46PM

22
#>220 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:43PM

22
#>220 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:45PM

23
#>227 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:42PM

24
#>232 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:23PM

25
#>244 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:08PM

25
#>244 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:10PM

27
#>293 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:06PM

28
#>328 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:04PM

29
#>347 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:03PM

33
#>528 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:02PM