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

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

692 active golfers, 3444 entries

Solutions by @ThosBP:
19
#132 - Tom BP / @ThosBP

04/24/2017 at 04:18PM

21
#>206 - Tom BP / @ThosBP

04/24/2017 at 04:17PM

22
#>218 - Tom BP / @ThosBP

04/24/2017 at 04:16PM

23
#>226 - Tom BP / @ThosBP

04/24/2017 at 04:15PM

25
#>243 - Tom BP / @ThosBP

04/24/2017 at 04:15PM

26
#>268 - Tom BP / @ThosBP

04/24/2017 at 04:14PM

27
#>290 - Tom BP / @ThosBP

04/24/2017 at 04:14PM

28
#>326 - Tom BP / @ThosBP

04/24/2017 at 04:13PM

29
#>347 - Tom BP / @ThosBP

04/24/2017 at 04:12PM

30
#>377 - Tom BP / @ThosBP

04/24/2017 at 04:12PM

31
#>434 - Tom BP / @ThosBP

04/24/2017 at 04:10PM

32
#>489 - Tom BP / @ThosBP

04/24/2017 at 04:09PM

33
#>526 - Tom BP / @ThosBP

04/24/2017 at 04:04PM

34
#>568 - Tom BP / @ThosBP

04/24/2017 at 04:02PM