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

711 active golfers, 3568 entries

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

01/27/2019 at 01:22PM

20
#>192 - abgalphabet / @abgalphabet

01/27/2019 at 01:22PM

21
#>219 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

22
#>229 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

23
#>237 - abgalphabet / @abgalphabet

01/27/2019 at 01:19PM

24
#>242 - abgalphabet / @abgalphabet

01/27/2019 at 01:15PM

25
#>253 - abgalphabet / @abgalphabet

01/27/2019 at 01:14PM

26
#>280 - abgalphabet / @abgalphabet

01/27/2019 at 01:13PM

27
#>302 - abgalphabet / @abgalphabet

01/27/2019 at 01:10PM

28
#>339 - abgalphabet / @abgalphabet

01/27/2019 at 01:07PM

29
#>358 - abgalphabet / @abgalphabet

01/27/2019 at 12:58PM

30
#>389 - abgalphabet / @abgalphabet

01/27/2019 at 12:56PM

31
#>450 - abgalphabet / @abgalphabet

01/27/2019 at 12:48PM

32
#>503 - abgalphabet / @abgalphabet

01/27/2019 at 12:47PM

33
#>540 - abgalphabet / @abgalphabet

01/27/2019 at 12:45PM

36
#>608 - abgalphabet / @abgalphabet

01/27/2019 at 12:42PM

38
#>627 - abgalphabet / @abgalphabet

01/27/2019 at 12:36PM