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

702 active golfers, 3520 entries

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

01/27/2019 at 01:22PM

20
#>187 - abgalphabet / @abgalphabet

01/27/2019 at 01:22PM

21
#>214 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

22
#>224 - abgalphabet / @abgalphabet

01/27/2019 at 01:20PM

23
#>231 - abgalphabet / @abgalphabet

01/27/2019 at 01:19PM

24
#>236 - abgalphabet / @abgalphabet

01/27/2019 at 01:15PM

25
#>247 - abgalphabet / @abgalphabet

01/27/2019 at 01:14PM

26
#>274 - abgalphabet / @abgalphabet

01/27/2019 at 01:13PM

27
#>296 - abgalphabet / @abgalphabet

01/27/2019 at 01:10PM

28
#>333 - abgalphabet / @abgalphabet

01/27/2019 at 01:07PM

29
#>352 - abgalphabet / @abgalphabet

01/27/2019 at 12:58PM

30
#>383 - abgalphabet / @abgalphabet

01/27/2019 at 12:56PM

31
#>444 - abgalphabet / @abgalphabet

01/27/2019 at 12:48PM

32
#>497 - abgalphabet / @abgalphabet

01/27/2019 at 12:47PM

33
#>534 - abgalphabet / @abgalphabet

01/27/2019 at 12:45PM

36
#>602 - abgalphabet / @abgalphabet

01/27/2019 at 12:42PM

38
#>621 - abgalphabet / @abgalphabet

01/27/2019 at 12:36PM