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 79 remaining solutions by signing in and submitting your own entry
#80 Ravi S Sinha / @ambidextrousTx - Score: 18 - 12/19/12 @ 07:13
/[^ ]<CR>:s//_/g<CR>o<Esc>ZZ

0 comments


Created by: @uzver

80 active golfers, 136 entries

Leaderboard (lowest score wins):
14
#61 - Matti Sairanen / @MattiSairanen

08/03/2017 at 09:24AM

14
#62 - Daniël De Koker / @daniel_koker

07/09/2018 at 09:52AM

15
#63 - Tesnorth / @Tesnorth

12/18/2012 at 08:05PM

15
#64 - Édouard M'tou / @DouardM

12/18/2012 at 09:00PM

15
#65 - bob / @vg41

12/21/2012 at 10:08AM

15
#66 - Kajetan Bojko / @KajetanBojko

12/22/2012 at 05:19PM

15
#67 - Toto l'haricot / @nico_le_terribl

12/26/2012 at 09:29AM

15
#68 - Yavor Atov / @YavorAtOff

01/03/2013 at 01:15PM

15
#69 - zealotrush / @zealotrush

01/28/2013 at 10:28AM

15
#70 - Matt Redding / @MattRedding

02/22/2013 at 12:12PM

15
#71 - Aaron Bieber / @aaronbieber

06/02/2013 at 10:51PM

15
#72 - Tj / @yrddy

02/19/2016 at 09:15AM

16
#73 - Daniel Lundin / @danielundin

12/19/2012 at 11:14AM

16
#74 - foo / @foo88832727

10/19/2013 at 05:30PM

17
#75 - sebtyp / @sebtyp

12/18/2012 at 07:57PM

17
#76 - Max Sherman / @johnislarry

12/19/2012 at 12:48PM

17
#77 - Eric Andres / @eric_m_andres

12/21/2012 at 03:57AM

17
#78 - ɐʇnɥsɐpoʇ / @todashuta

03/25/2015 at 01:40PM

17
#79 - z0c / @zerocabal

06/07/2018 at 04:17PM

18
#80 - Ravi S Sinha / @ambidextrousTx

12/19/2012 at 07:13AM