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

702 active golfers, 3520 entries

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

07/29/2018 at 11:31AM

20
#>186 - fucus / @fishlovebanana

07/29/2018 at 11:28AM

21
#>213 - fucus / @fishlovebanana

07/29/2018 at 11:27AM

22
#>224 - fucus / @fishlovebanana

07/29/2018 at 11:26AM

23
#>231 - fucus / @fishlovebanana

07/29/2018 at 11:22AM

24
#>236 - fucus / @fishlovebanana

07/29/2018 at 11:18AM

24
#>236 - fucus / @fishlovebanana

07/29/2018 at 11:21AM

25
#>247 - fucus / @fishlovebanana

07/29/2018 at 11:15AM

26
#>273 - fucus / @fishlovebanana

07/29/2018 at 11:13AM

27
#>296 - fucus / @fishlovebanana

07/29/2018 at 11:11AM

28
#>332 - fucus / @fishlovebanana

07/29/2018 at 11:09AM

29
#>352 - fucus / @fishlovebanana

07/29/2018 at 11:08AM

30
#>383 - fucus / @fishlovebanana

07/29/2018 at 11:05AM

32
#>496 - fucus / @fishlovebanana

07/29/2018 at 11:04AM

33
#>534 - fucus / @fishlovebanana

07/29/2018 at 11:02AM

34
#>576 - fucus / @fishlovebanana

07/29/2018 at 10:49AM

40
#>625 - fucus / @fishlovebanana

07/29/2018 at 10:48AM

51
#>676 - fucus / @fishlovebanana

07/29/2018 at 10:45AM

53
#>682 - fucus / @fishlovebanana

07/29/2018 at 10:44AM