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

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

703 active golfers, 3522 entries

Solutions by @Benoit_Mortgat:
19
#140 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:04PM

19
#>140 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:04PM

21
#>212 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:03PM

22
#>224 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:03PM

23
#>232 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:02PM

25
#>248 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:01PM

26
#>274 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:00PM

27
#>297 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:59AM

28
#>333 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:59AM

29
#>353 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:58AM

30
#>383 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:57AM

31
#>440 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:54AM

32
#>496 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:54AM

34
#>577 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:52AM

35
#>589 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:05AM