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

710 active golfers, 3566 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
#>190 - Dax / @zacoxi

11/02/2018 at 10:23AM

21
#>218 - Dax / @zacoxi

11/02/2018 at 10:21AM

22
#>228 - Dax / @zacoxi

11/02/2018 at 10:18AM

23
#>236 - Dax / @zacoxi

11/02/2018 at 10:17AM

24
#>241 - Dax / @zacoxi

11/02/2018 at 10:15AM

25
#>252 - Dax / @zacoxi

11/02/2018 at 10:10AM

26
#>279 - Dax / @zacoxi

11/02/2018 at 10:07AM

27
#>301 - Dax / @zacoxi

11/02/2018 at 10:03AM

28
#>338 - Dax / @zacoxi

11/02/2018 at 09:58AM

30
#>388 - Dax / @zacoxi

11/02/2018 at 09:54AM

31
#>448 - Dax / @zacoxi

11/02/2018 at 09:49AM

32
#>502 - Dax / @zacoxi

11/02/2018 at 09:44AM

33
#>539 - Dax / @zacoxi

11/02/2018 at 09:38AM

36
#>607 - Dax / @zacoxi

11/02/2018 at 09:33AM

41
#>639 - Dax / @zacoxi

11/02/2018 at 09:20AM

43
#>655 - Dax / @zacoxi

11/02/2018 at 09:13AM

45
#>664 - Dax / @zacoxi

11/02/2018 at 09:00AM

65
#>700 - Dax / @zacoxi

11/02/2018 at 08:52AM