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

711 active golfers, 3568 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
#>191 - Dax / @zacoxi

11/02/2018 at 10:23AM

21
#>219 - Dax / @zacoxi

11/02/2018 at 10:21AM

22
#>229 - Dax / @zacoxi

11/02/2018 at 10:18AM

23
#>237 - Dax / @zacoxi

11/02/2018 at 10:17AM

24
#>242 - Dax / @zacoxi

11/02/2018 at 10:15AM

25
#>253 - Dax / @zacoxi

11/02/2018 at 10:10AM

26
#>280 - Dax / @zacoxi

11/02/2018 at 10:07AM

27
#>302 - Dax / @zacoxi

11/02/2018 at 10:03AM

28
#>339 - Dax / @zacoxi

11/02/2018 at 09:58AM

30
#>389 - Dax / @zacoxi

11/02/2018 at 09:54AM

31
#>449 - Dax / @zacoxi

11/02/2018 at 09:49AM

32
#>503 - Dax / @zacoxi

11/02/2018 at 09:44AM

33
#>540 - Dax / @zacoxi

11/02/2018 at 09:38AM

36
#>608 - Dax / @zacoxi

11/02/2018 at 09:33AM

41
#>640 - Dax / @zacoxi

11/02/2018 at 09:20AM

43
#>656 - Dax / @zacoxi

11/02/2018 at 09:13AM

45
#>665 - Dax / @zacoxi

11/02/2018 at 09:00AM

65
#>701 - Dax / @zacoxi

11/02/2018 at 08:52AM