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

692 active golfers, 3444 entries

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

01/27/2019 at 01:22PM

20
#>183 - abgalphabet / @abgalphabet

01/27/2019 at 01:22PM

21
#>210 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

22
#>220 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

23
#>227 - abgalphabet / @abgalphabet

01/27/2019 at 01:19PM

24
#>232 - abgalphabet / @abgalphabet

01/27/2019 at 01:15PM

25
#>243 - abgalphabet / @abgalphabet

01/27/2019 at 01:14PM

26
#>270 - abgalphabet / @abgalphabet

01/27/2019 at 01:13PM

27
#>291 - abgalphabet / @abgalphabet

01/27/2019 at 01:10PM

28
#>328 - abgalphabet / @abgalphabet

01/27/2019 at 01:07PM

29
#>347 - abgalphabet / @abgalphabet

01/27/2019 at 12:58PM

30
#>378 - abgalphabet / @abgalphabet

01/27/2019 at 12:56PM

31
#>439 - abgalphabet / @abgalphabet

01/27/2019 at 12:48PM

32
#>491 - abgalphabet / @abgalphabet

01/27/2019 at 12:47PM

33
#>527 - abgalphabet / @abgalphabet

01/27/2019 at 12:45PM

36
#>594 - abgalphabet / @abgalphabet

01/27/2019 at 12:42PM

38
#>612 - abgalphabet / @abgalphabet

01/27/2019 at 12:36PM