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 50d0c33daa503f000200000f

Groups magic

Regexp or macros for string converting: (a) -> ___ (abc) -> ____ (abcd) -> ______ All in the '(' replace to _ multiply by char count + ()

Start file
(a) (abc) (abcd) (123456)
End file
___ _____ ______ ________

View Diff

1c1,2
< (a) (abc) (abcd) (123456)
---
> ___ _____ ______ ________
>

Solutions

The best way to learn is to practice. Below, you will find some of the solutions other golfers have entered. To unlock higher ranked solutions, submit your own entry which does as well or better than the solutions you can currently see - climb the ladder!

Check out these helpful resources to improve your Vim skills... Game on.

Unlock 92 remaining solutions by signing in and submitting your own entry
#93 Rustem B. / @_rustemb - Score: 21 - 07/31/20 @ 12:27
vabr_qqwvabr_q2@qo<Esc>ZZ

0 comments


#94 nickGPT / @nickandbro - Score: 21 - 08/28/24 @ 19:09
vabr_qqwvabr_q2@qo<Esc>ZZ

0 comments


Created by: @uzver

94 active golfers, 161 entries

Leaderboard (lowest score wins):
18
#91 - Ravi S Sinha / @ambidextrousTx

12/19/2012 at 07:13AM

19
#92 - Kanmuruuruu / @Kanmuruuruu

04/08/2024 at 08:27PM

21
#93 - Rustem B. / @_rustemb

07/31/2020 at 12:27PM

21
#94 - nickGPT / @nickandbro

08/28/2024 at 07:09PM