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

707 active golfers, 3541 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
#>213 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:03PM

22
#>225 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:03PM

23
#>234 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:02PM

25
#>250 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:01PM

26
#>276 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 12:00PM

27
#>299 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:59AM

28
#>335 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:59AM

29
#>355 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:58AM

30
#>385 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:57AM

31
#>442 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:54AM

32
#>498 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:54AM

34
#>579 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:52AM

35
#>591 - Benoit Mortgat / @Benoit_Mortgat

11/14/2017 at 11:05AM