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

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

678 active golfers, 3350 entries

Solutions by @fishlovebanana:
19
#145 - fucus / @fishlovebanana

07/29/2018 at 11:31AM

20
#>174 - fucus / @fishlovebanana

07/29/2018 at 11:28AM

21
#>201 - fucus / @fishlovebanana

07/29/2018 at 11:27AM

22
#>212 - fucus / @fishlovebanana

07/29/2018 at 11:26AM

23
#>218 - fucus / @fishlovebanana

07/29/2018 at 11:22AM

24
#>223 - fucus / @fishlovebanana

07/29/2018 at 11:18AM

24
#>223 - fucus / @fishlovebanana

07/29/2018 at 11:21AM

25
#>234 - fucus / @fishlovebanana

07/29/2018 at 11:15AM

26
#>260 - fucus / @fishlovebanana

07/29/2018 at 11:13AM

27
#>282 - fucus / @fishlovebanana

07/29/2018 at 11:11AM

28
#>318 - fucus / @fishlovebanana

07/29/2018 at 11:09AM

29
#>338 - fucus / @fishlovebanana

07/29/2018 at 11:08AM

30
#>369 - fucus / @fishlovebanana

07/29/2018 at 11:05AM

32
#>480 - fucus / @fishlovebanana

07/29/2018 at 11:04AM

33
#>515 - fucus / @fishlovebanana

07/29/2018 at 11:02AM

34
#>556 - fucus / @fishlovebanana

07/29/2018 at 10:49AM

40
#>602 - fucus / @fishlovebanana

07/29/2018 at 10:48AM

51
#>652 - fucus / @fishlovebanana

07/29/2018 at 10:45AM

53
#>658 - fucus / @fishlovebanana

07/29/2018 at 10:44AM