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

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

703 active golfers, 3522 entries

Solutions by @EricGodhand4826:
27
#298 - eric huang / @EricGodhand4826

05/05/2019 at 09:12AM

28
#>334 - eric huang / @EricGodhand4826

05/05/2019 at 09:10AM

30
#>385 - eric huang / @EricGodhand4826

05/05/2019 at 09:04AM

31
#>446 - eric huang / @EricGodhand4826

05/05/2019 at 09:00AM

32
#>499 - eric huang / @EricGodhand4826

05/05/2019 at 08:56AM

33
#>536 - eric huang / @EricGodhand4826

05/05/2019 at 08:55AM

39
#>625 - eric huang / @EricGodhand4826

05/05/2019 at 08:16AM

40
#>626 - eric huang / @EricGodhand4826

05/05/2019 at 08:52AM

49
#>673 - eric huang / @EricGodhand4826

05/05/2019 at 07:44AM

52
#>681 - eric huang / @EricGodhand4826

05/05/2019 at 07:41AM

57
#>689 - eric huang / @EricGodhand4826

05/05/2019 at 07:37AM

62
#>692 - eric huang / @EricGodhand4826

05/05/2019 at 07:35AM