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

702 active golfers, 3520 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
#>186 - Dax / @zacoxi

11/02/2018 at 10:23AM

21
#>214 - Dax / @zacoxi

11/02/2018 at 10:21AM

22
#>224 - Dax / @zacoxi

11/02/2018 at 10:18AM

23
#>231 - Dax / @zacoxi

11/02/2018 at 10:17AM

24
#>236 - Dax / @zacoxi

11/02/2018 at 10:15AM

25
#>247 - Dax / @zacoxi

11/02/2018 at 10:10AM

26
#>274 - Dax / @zacoxi

11/02/2018 at 10:07AM

27
#>296 - Dax / @zacoxi

11/02/2018 at 10:03AM

28
#>333 - Dax / @zacoxi

11/02/2018 at 09:58AM

30
#>383 - Dax / @zacoxi

11/02/2018 at 09:54AM

31
#>443 - Dax / @zacoxi

11/02/2018 at 09:49AM

32
#>497 - Dax / @zacoxi

11/02/2018 at 09:44AM

33
#>534 - Dax / @zacoxi

11/02/2018 at 09:38AM

36
#>602 - Dax / @zacoxi

11/02/2018 at 09:33AM

41
#>634 - Dax / @zacoxi

11/02/2018 at 09:20AM

43
#>650 - Dax / @zacoxi

11/02/2018 at 09:13AM

45
#>659 - Dax / @zacoxi

11/02/2018 at 09:00AM

65
#>694 - Dax / @zacoxi

11/02/2018 at 08:52AM