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

706 active golfers, 3525 entries

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

07/29/2018 at 11:31AM

20
#>187 - fucus / @fishlovebanana

07/29/2018 at 11:28AM

21
#>214 - fucus / @fishlovebanana

07/29/2018 at 11:27AM

22
#>225 - fucus / @fishlovebanana

07/29/2018 at 11:26AM

23
#>233 - fucus / @fishlovebanana

07/29/2018 at 11:22AM

24
#>238 - fucus / @fishlovebanana

07/29/2018 at 11:18AM

24
#>238 - fucus / @fishlovebanana

07/29/2018 at 11:21AM

25
#>249 - fucus / @fishlovebanana

07/29/2018 at 11:15AM

26
#>275 - fucus / @fishlovebanana

07/29/2018 at 11:13AM

27
#>298 - fucus / @fishlovebanana

07/29/2018 at 11:11AM

28
#>334 - fucus / @fishlovebanana

07/29/2018 at 11:09AM

29
#>354 - fucus / @fishlovebanana

07/29/2018 at 11:08AM

30
#>385 - fucus / @fishlovebanana

07/29/2018 at 11:05AM

32
#>498 - fucus / @fishlovebanana

07/29/2018 at 11:04AM

33
#>536 - fucus / @fishlovebanana

07/29/2018 at 11:02AM

34
#>578 - fucus / @fishlovebanana

07/29/2018 at 10:49AM

40
#>627 - fucus / @fishlovebanana

07/29/2018 at 10:48AM

51
#>679 - fucus / @fishlovebanana

07/29/2018 at 10:45AM

53
#>685 - fucus / @fishlovebanana

07/29/2018 at 10:44AM