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

702 active golfers, 3520 entries

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

04/24/2017 at 04:18PM

21
#>210 - Tom BP / @ThosBP

04/24/2017 at 04:17PM

22
#>222 - Tom BP / @ThosBP

04/24/2017 at 04:16PM

23
#>230 - Tom BP / @ThosBP

04/24/2017 at 04:15PM

25
#>247 - Tom BP / @ThosBP

04/24/2017 at 04:15PM

26
#>272 - Tom BP / @ThosBP

04/24/2017 at 04:14PM

27
#>295 - Tom BP / @ThosBP

04/24/2017 at 04:14PM

28
#>331 - Tom BP / @ThosBP

04/24/2017 at 04:13PM

29
#>352 - Tom BP / @ThosBP

04/24/2017 at 04:12PM

30
#>382 - Tom BP / @ThosBP

04/24/2017 at 04:12PM

31
#>439 - Tom BP / @ThosBP

04/24/2017 at 04:10PM

32
#>495 - Tom BP / @ThosBP

04/24/2017 at 04:09PM

33
#>533 - Tom BP / @ThosBP

04/24/2017 at 04:04PM

34
#>576 - Tom BP / @ThosBP

04/24/2017 at 04:02PM