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

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

692 active golfers, 3444 entries

Solutions by @DHM29978992:
19
#142 - DHM / @DHM29978992

04/14/2018 at 03:00AM

21
#>209 - DHM / @DHM29978992

04/14/2018 at 02:58AM

22
#>220 - DHM / @DHM29978992

04/14/2018 at 02:56AM

23
#>227 - DHM / @DHM29978992

04/14/2018 at 02:55AM

25
#>243 - DHM / @DHM29978992

04/14/2018 at 02:54AM

26
#>269 - DHM / @DHM29978992

04/14/2018 at 02:48AM

26
#>269 - DHM / @DHM29978992

04/14/2018 at 02:49AM

26
#>269 - DHM / @DHM29978992

04/14/2018 at 02:53AM

27
#>291 - DHM / @DHM29978992

04/14/2018 at 02:48AM

29
#>347 - DHM / @DHM29978992

04/14/2018 at 02:46AM

30
#>377 - DHM / @DHM29978992

04/14/2018 at 02:44AM

31
#>434 - DHM / @DHM29978992

04/14/2018 at 02:38AM

32
#>490 - DHM / @DHM29978992

04/14/2018 at 02:28AM

33
#>527 - DHM / @DHM29978992

04/14/2018 at 02:10AM