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

703 active golfers, 3522 entries

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

04/14/2018 at 03:00AM

21
#>214 - DHM / @DHM29978992

04/14/2018 at 02:58AM

22
#>225 - DHM / @DHM29978992

04/14/2018 at 02:56AM

23
#>232 - DHM / @DHM29978992

04/14/2018 at 02:55AM

25
#>248 - DHM / @DHM29978992

04/14/2018 at 02:54AM

26
#>274 - DHM / @DHM29978992

04/14/2018 at 02:48AM

26
#>274 - DHM / @DHM29978992

04/14/2018 at 02:49AM

26
#>274 - DHM / @DHM29978992

04/14/2018 at 02:53AM

27
#>297 - DHM / @DHM29978992

04/14/2018 at 02:48AM

29
#>353 - DHM / @DHM29978992

04/14/2018 at 02:46AM

30
#>383 - DHM / @DHM29978992

04/14/2018 at 02:44AM

31
#>440 - DHM / @DHM29978992

04/14/2018 at 02:38AM

32
#>497 - DHM / @DHM29978992

04/14/2018 at 02:28AM

33
#>535 - DHM / @DHM29978992

04/14/2018 at 02:10AM