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

706 active golfers, 3525 entries

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

11/18/2018 at 08:07PM

21
#>215 - name / @name65894813

11/18/2018 at 08:06PM

22
#>225 - name / @name65894813

11/18/2018 at 08:03PM

23
#>233 - name / @name65894813

11/18/2018 at 08:02PM

24
#>238 - name / @name65894813

11/18/2018 at 08:01PM

25
#>249 - name / @name65894813

11/18/2018 at 07:59PM

26
#>276 - name / @name65894813

11/18/2018 at 07:57PM

31
#>446 - name / @name65894813

11/18/2018 at 07:49PM

47
#>669 - name / @name65894813

11/18/2018 at 07:46PM

50
#>676 - name / @name65894813

11/18/2018 at 07:42PM