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

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

703 active golfers, 3522 entries

Solutions by @ThosBP:
19
#132 - Tom BP / @ThosBP

04/24/2017 at 04:18PM

21
#>211 - Tom BP / @ThosBP

04/24/2017 at 04:17PM

22
#>223 - Tom BP / @ThosBP

04/24/2017 at 04:16PM

23
#>231 - Tom BP / @ThosBP

04/24/2017 at 04:15PM

25
#>248 - Tom BP / @ThosBP

04/24/2017 at 04:15PM

26
#>273 - Tom BP / @ThosBP

04/24/2017 at 04:14PM

27
#>296 - Tom BP / @ThosBP

04/24/2017 at 04:14PM

28
#>332 - Tom BP / @ThosBP

04/24/2017 at 04:13PM

29
#>353 - Tom BP / @ThosBP

04/24/2017 at 04:12PM

30
#>383 - Tom BP / @ThosBP

04/24/2017 at 04:12PM

31
#>440 - Tom BP / @ThosBP

04/24/2017 at 04:10PM

32
#>496 - Tom BP / @ThosBP

04/24/2017 at 04:09PM

33
#>534 - Tom BP / @ThosBP

04/24/2017 at 04:04PM

34
#>577 - Tom BP / @ThosBP

04/24/2017 at 04:02PM