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

702 active golfers, 3520 entries

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

11/18/2018 at 08:07PM

21
#>214 - name / @name65894813

11/18/2018 at 08:06PM

22
#>224 - name / @name65894813

11/18/2018 at 08:03PM

23
#>231 - name / @name65894813

11/18/2018 at 08:02PM

24
#>236 - name / @name65894813

11/18/2018 at 08:01PM

25
#>247 - name / @name65894813

11/18/2018 at 07:59PM

26
#>274 - name / @name65894813

11/18/2018 at 07:57PM

31
#>444 - name / @name65894813

11/18/2018 at 07:49PM

47
#>667 - name / @name65894813

11/18/2018 at 07:46PM

50
#>673 - name / @name65894813

11/18/2018 at 07:42PM