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

706 active golfers, 3525 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
#>233 - DHM / @DHM29978992

04/14/2018 at 02:55AM

25
#>249 - DHM / @DHM29978992

04/14/2018 at 02:54AM

26
#>275 - DHM / @DHM29978992

04/14/2018 at 02:48AM

26
#>275 - DHM / @DHM29978992

04/14/2018 at 02:49AM

26
#>275 - DHM / @DHM29978992

04/14/2018 at 02:53AM

27
#>298 - DHM / @DHM29978992

04/14/2018 at 02:48AM

29
#>354 - DHM / @DHM29978992

04/14/2018 at 02:46AM

30
#>384 - DHM / @DHM29978992

04/14/2018 at 02:44AM

31
#>441 - DHM / @DHM29978992

04/14/2018 at 02:38AM

32
#>498 - DHM / @DHM29978992

04/14/2018 at 02:28AM

33
#>536 - DHM / @DHM29978992

04/14/2018 at 02:10AM