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

712 active golfers, 3569 entries

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

05/18/2019 at 11:48PM

19
#>154 - Sherab Giovannini / @shaddycls

05/19/2019 at 12:03AM

20
#>195 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:46PM

21
#>220 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:46PM

22
#>230 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:43PM

22
#>230 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:45PM

23
#>238 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:42PM

24
#>243 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:23PM

25
#>255 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:08PM

25
#>255 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:10PM

27
#>305 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:06PM

28
#>340 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:04PM

29
#>359 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:03PM

33
#>542 - Sherab Giovannini / @shaddycls

05/18/2019 at 11:02PM