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

709 active golfers, 3565 entries

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

04/14/2018 at 03:00AM

21
#>216 - DHM / @DHM29978992

04/14/2018 at 02:58AM

22
#>227 - DHM / @DHM29978992

04/14/2018 at 02:56AM

23
#>235 - DHM / @DHM29978992

04/14/2018 at 02:55AM

25
#>251 - DHM / @DHM29978992

04/14/2018 at 02:54AM

26
#>277 - DHM / @DHM29978992

04/14/2018 at 02:48AM

26
#>277 - DHM / @DHM29978992

04/14/2018 at 02:49AM

26
#>277 - DHM / @DHM29978992

04/14/2018 at 02:53AM

27
#>300 - DHM / @DHM29978992

04/14/2018 at 02:48AM

29
#>356 - DHM / @DHM29978992

04/14/2018 at 02:46AM

30
#>386 - DHM / @DHM29978992

04/14/2018 at 02:44AM

31
#>443 - DHM / @DHM29978992

04/14/2018 at 02:38AM

32
#>500 - DHM / @DHM29978992

04/14/2018 at 02:28AM

33
#>538 - DHM / @DHM29978992

04/14/2018 at 02:10AM