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

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

695 active golfers, 3454 entries

Solutions by @AZakrevskis:
19
#147 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 03:05PM

20
#>183 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 03:04PM

21
#>211 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 03:03PM

22
#>221 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 03:03PM

23
#>228 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 03:02PM

24
#>233 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 03:01PM

25
#>244 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:59PM

26
#>271 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:59PM

27
#>292 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:57PM

28
#>329 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:56PM

29
#>348 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:50PM

29
#>348 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:56PM

30
#>379 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:47PM

31
#>438 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:43PM

32
#>491 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:41PM

33
#>528 - Artūras Zakrevskis / @AZakrevskis

09/27/2018 at 02:36PM