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

709 active golfers, 3565 entries

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

01/27/2019 at 01:22PM

20
#>190 - abgalphabet / @abgalphabet

01/27/2019 at 01:22PM

21
#>217 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

22
#>227 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

23
#>235 - abgalphabet / @abgalphabet

01/27/2019 at 01:19PM

24
#>240 - abgalphabet / @abgalphabet

01/27/2019 at 01:15PM

25
#>251 - abgalphabet / @abgalphabet

01/27/2019 at 01:14PM

26
#>278 - abgalphabet / @abgalphabet

01/27/2019 at 01:13PM

27
#>300 - abgalphabet / @abgalphabet

01/27/2019 at 01:10PM

28
#>337 - abgalphabet / @abgalphabet

01/27/2019 at 01:07PM

29
#>356 - abgalphabet / @abgalphabet

01/27/2019 at 12:58PM

30
#>387 - abgalphabet / @abgalphabet

01/27/2019 at 12:56PM

31
#>448 - abgalphabet / @abgalphabet

01/27/2019 at 12:48PM

32
#>501 - abgalphabet / @abgalphabet

01/27/2019 at 12:47PM

33
#>538 - abgalphabet / @abgalphabet

01/27/2019 at 12:45PM

36
#>606 - abgalphabet / @abgalphabet

01/27/2019 at 12:42PM

38
#>625 - abgalphabet / @abgalphabet

01/27/2019 at 12:36PM