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

683 active golfers, 3387 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
#>198 - John Goes / @johnwgoes

05/06/2016 at 12:52AM

22
#>211 - John Goes / @johnwgoes

05/06/2016 at 12:50AM

23
#>219 - John Goes / @johnwgoes

05/06/2016 at 12:45AM

25
#>236 - John Goes / @johnwgoes

05/06/2016 at 12:44AM

26
#>258 - John Goes / @johnwgoes

05/06/2016 at 12:42AM

27
#>283 - John Goes / @johnwgoes

05/06/2016 at 12:40AM

29
#>338 - John Goes / @johnwgoes

05/06/2016 at 12:39AM

31
#>425 - John Goes / @johnwgoes

05/06/2016 at 12:28AM

31
#>425 - John Goes / @johnwgoes

05/06/2016 at 12:31AM