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

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

692 active golfers, 3444 entries

Solutions by @Chest_ErYap:
20
#186 - Chester Yap / @Chest_ErYap

07/11/2019 at 04:05AM

21
#>210 - Chester Yap / @Chest_ErYap

07/11/2019 at 04:05AM

22
#>220 - Chester Yap / @Chest_ErYap

07/11/2019 at 04:04AM

23
#>227 - Chester Yap / @Chest_ErYap

07/11/2019 at 04:04AM

24
#>232 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:55AM

25
#>244 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:51AM

25
#>244 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:54AM

26
#>271 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:50AM

27
#>294 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:44AM

27
#>294 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:49AM

29
#>347 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:43AM

31
#>440 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:28AM

39
#>615 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:27AM