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

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

703 active golfers, 3522 entries

Solutions by @lamtt77:
19
#169 - lamtt77 / @lamtt77

10/11/2020 at 01:38PM

20
#>193 - lamtt77 / @lamtt77

10/11/2020 at 01:36PM

21
#>215 - lamtt77 / @lamtt77

10/11/2020 at 01:34PM

22
#>225 - lamtt77 / @lamtt77

10/11/2020 at 01:33PM

23
#>233 - lamtt77 / @lamtt77

10/11/2020 at 01:30PM

24
#>237 - lamtt77 / @lamtt77

10/11/2020 at 01:28PM

25
#>251 - lamtt77 / @lamtt77

10/11/2020 at 01:25PM

26
#>280 - lamtt77 / @lamtt77

10/11/2020 at 01:21PM

27
#>303 - lamtt77 / @lamtt77

10/11/2020 at 01:18PM

28
#>335 - lamtt77 / @lamtt77

10/11/2020 at 01:14PM

29
#>353 - lamtt77 / @lamtt77

10/11/2020 at 01:11PM

30
#>385 - lamtt77 / @lamtt77

10/11/2020 at 01:09PM

31
#>450 - lamtt77 / @lamtt77

10/11/2020 at 12:58PM

32
#>500 - lamtt77 / @lamtt77

10/11/2020 at 12:56PM

37
#>613 - lamtt77 / @lamtt77

10/11/2020 at 12:52PM