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

692 active golfers, 3444 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
#>182 - Dax / @zacoxi

11/02/2018 at 10:23AM

21
#>210 - Dax / @zacoxi

11/02/2018 at 10:21AM

22
#>220 - Dax / @zacoxi

11/02/2018 at 10:18AM

23
#>227 - Dax / @zacoxi

11/02/2018 at 10:17AM

24
#>232 - Dax / @zacoxi

11/02/2018 at 10:15AM

25
#>243 - Dax / @zacoxi

11/02/2018 at 10:10AM

26
#>270 - Dax / @zacoxi

11/02/2018 at 10:07AM

27
#>291 - Dax / @zacoxi

11/02/2018 at 10:03AM

28
#>328 - Dax / @zacoxi

11/02/2018 at 09:58AM

30
#>378 - Dax / @zacoxi

11/02/2018 at 09:54AM

31
#>438 - Dax / @zacoxi

11/02/2018 at 09:49AM

32
#>491 - Dax / @zacoxi

11/02/2018 at 09:44AM

33
#>527 - Dax / @zacoxi

11/02/2018 at 09:38AM

36
#>594 - Dax / @zacoxi

11/02/2018 at 09:33AM

41
#>625 - Dax / @zacoxi

11/02/2018 at 09:20AM

43
#>640 - Dax / @zacoxi

11/02/2018 at 09:13AM

45
#>649 - Dax / @zacoxi

11/02/2018 at 09:00AM

65
#>684 - Dax / @zacoxi

11/02/2018 at 08:52AM