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

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

706 active golfers, 3525 entries

Solutions by @abgalphabet:
19
#150 - abgalphabet / @abgalphabet

01/27/2019 at 01:22PM

20
#>188 - abgalphabet / @abgalphabet

01/27/2019 at 01:22PM

21
#>215 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

22
#>225 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

23
#>233 - abgalphabet / @abgalphabet

01/27/2019 at 01:19PM

24
#>238 - abgalphabet / @abgalphabet

01/27/2019 at 01:15PM

25
#>249 - abgalphabet / @abgalphabet

01/27/2019 at 01:14PM

26
#>276 - abgalphabet / @abgalphabet

01/27/2019 at 01:13PM

27
#>298 - abgalphabet / @abgalphabet

01/27/2019 at 01:10PM

28
#>335 - abgalphabet / @abgalphabet

01/27/2019 at 01:07PM

29
#>354 - abgalphabet / @abgalphabet

01/27/2019 at 12:58PM

30
#>385 - abgalphabet / @abgalphabet

01/27/2019 at 12:56PM

31
#>446 - abgalphabet / @abgalphabet

01/27/2019 at 12:48PM

32
#>499 - abgalphabet / @abgalphabet

01/27/2019 at 12:47PM

33
#>536 - abgalphabet / @abgalphabet

01/27/2019 at 12:45PM

36
#>604 - abgalphabet / @abgalphabet

01/27/2019 at 12:42PM

38
#>623 - abgalphabet / @abgalphabet

01/27/2019 at 12:36PM