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

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

692 active golfers, 3444 entries

Solutions by @name65894813:
19
#149 - name / @name65894813

11/18/2018 at 08:07PM

21
#>210 - name / @name65894813

11/18/2018 at 08:06PM

22
#>220 - name / @name65894813

11/18/2018 at 08:03PM

23
#>227 - name / @name65894813

11/18/2018 at 08:02PM

24
#>232 - name / @name65894813

11/18/2018 at 08:01PM

25
#>243 - name / @name65894813

11/18/2018 at 07:59PM

26
#>270 - name / @name65894813

11/18/2018 at 07:57PM

31
#>439 - name / @name65894813

11/18/2018 at 07:49PM

47
#>657 - name / @name65894813

11/18/2018 at 07:46PM

50
#>663 - name / @name65894813

11/18/2018 at 07:42PM