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

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

692 active golfers, 3444 entries

Solutions by @johnwgoes:
19
#113 - John Goes / @johnwgoes

05/06/2016 at 12:55AM

19
#>113 - John Goes / @johnwgoes

05/06/2016 at 12:59AM

21
#>203 - John Goes / @johnwgoes

05/06/2016 at 12:52AM

22
#>216 - John Goes / @johnwgoes

05/06/2016 at 12:50AM

23
#>225 - John Goes / @johnwgoes

05/06/2016 at 12:45AM

25
#>242 - John Goes / @johnwgoes

05/06/2016 at 12:44AM

26
#>264 - John Goes / @johnwgoes

05/06/2016 at 12:42AM

27
#>289 - John Goes / @johnwgoes

05/06/2016 at 12:40AM

29
#>344 - John Goes / @johnwgoes

05/06/2016 at 12:39AM

31
#>431 - John Goes / @johnwgoes

05/06/2016 at 12:28AM

31
#>431 - John Goes / @johnwgoes

05/06/2016 at 12:31AM