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

702 active golfers, 3520 entries

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

07/11/2019 at 04:05AM

21
#>214 - Chester Yap / @Chest_ErYap

07/11/2019 at 04:05AM

22
#>224 - Chester Yap / @Chest_ErYap

07/11/2019 at 04:04AM

23
#>231 - Chester Yap / @Chest_ErYap

07/11/2019 at 04:04AM

24
#>236 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:55AM

25
#>248 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:51AM

25
#>248 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:54AM

26
#>275 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:50AM

27
#>299 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:44AM

27
#>299 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:49AM

29
#>352 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:43AM

31
#>445 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:28AM

39
#>624 - Chester Yap / @Chest_ErYap

07/11/2019 at 03:27AM