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

711 active golfers, 3568 entries

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

05/05/2019 at 09:12AM

28
#>339 - eric huang / @EricGodhand4826

05/05/2019 at 09:10AM

30
#>390 - eric huang / @EricGodhand4826

05/05/2019 at 09:04AM

31
#>451 - eric huang / @EricGodhand4826

05/05/2019 at 09:00AM

32
#>504 - eric huang / @EricGodhand4826

05/05/2019 at 08:56AM

33
#>541 - eric huang / @EricGodhand4826

05/05/2019 at 08:55AM

39
#>630 - eric huang / @EricGodhand4826

05/05/2019 at 08:16AM

40
#>631 - eric huang / @EricGodhand4826

05/05/2019 at 08:52AM

49
#>679 - eric huang / @EricGodhand4826

05/05/2019 at 07:44AM

52
#>687 - eric huang / @EricGodhand4826

05/05/2019 at 07:41AM

57
#>695 - eric huang / @EricGodhand4826

05/05/2019 at 07:37AM

62
#>698 - eric huang / @EricGodhand4826

05/05/2019 at 07:35AM