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

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

692 active golfers, 3444 entries

Solutions by @hor3ace:
19
#119 - hor1ace / @hor3ace

09/08/2016 at 10:34AM

21
#>205 - hor1ace / @hor3ace

09/08/2016 at 10:33AM

22
#>218 - hor1ace / @hor3ace

09/08/2016 at 10:32AM

23
#>226 - hor1ace / @hor3ace

09/08/2016 at 10:31AM

24
#>232 - hor1ace / @hor3ace

09/08/2016 at 10:29AM

25
#>243 - hor1ace / @hor3ace

09/08/2016 at 10:28AM

26
#>265 - hor1ace / @hor3ace

09/08/2016 at 10:22AM

27
#>289 - hor1ace / @hor3ace

09/08/2016 at 09:40AM

30
#>375 - hor1ace / @hor3ace

09/08/2016 at 09:38AM

30
#>375 - hor1ace / @hor3ace

09/08/2016 at 09:39AM

31
#>433 - hor1ace / @hor3ace

09/08/2016 at 09:36AM