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

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

709 active golfers, 3565 entries

Solutions by @zacoxi:
19
#148 - Dax / @zacoxi

11/02/2018 at 10:24AM

19
#>148 - Dax / @zacoxi

11/02/2018 at 10:33AM

20
#>189 - Dax / @zacoxi

11/02/2018 at 10:23AM

21
#>217 - Dax / @zacoxi

11/02/2018 at 10:21AM

22
#>227 - Dax / @zacoxi

11/02/2018 at 10:18AM

23
#>235 - Dax / @zacoxi

11/02/2018 at 10:17AM

24
#>240 - Dax / @zacoxi

11/02/2018 at 10:15AM

25
#>251 - Dax / @zacoxi

11/02/2018 at 10:10AM

26
#>278 - Dax / @zacoxi

11/02/2018 at 10:07AM

27
#>300 - Dax / @zacoxi

11/02/2018 at 10:03AM

28
#>337 - Dax / @zacoxi

11/02/2018 at 09:58AM

30
#>387 - Dax / @zacoxi

11/02/2018 at 09:54AM

31
#>447 - Dax / @zacoxi

11/02/2018 at 09:49AM

32
#>501 - Dax / @zacoxi

11/02/2018 at 09:44AM

33
#>538 - Dax / @zacoxi

11/02/2018 at 09:38AM

36
#>606 - Dax / @zacoxi

11/02/2018 at 09:33AM

41
#>638 - Dax / @zacoxi

11/02/2018 at 09:20AM

43
#>654 - Dax / @zacoxi

11/02/2018 at 09:13AM

45
#>663 - Dax / @zacoxi

11/02/2018 at 09:00AM

65
#>699 - Dax / @zacoxi

11/02/2018 at 08:52AM