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
___ _____ ______ ________
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
94 active golfers, 161 entries
Leaderboard (lowest score wins):
12/19/2012 at 02:19AM
12/19/2012 at 03:08AM
12/19/2012 at 06:37PM
#4 - Victor Ramirez / @virako
12/21/2012 at 11:22AM
12/23/2012 at 10:56AM
01/04/2013 at 04:03AM
03/09/2013 at 03:53PM
04/29/2013 at 12:24AM
05/24/2013 at 06:23PM
08/28/2013 at 11:12AM
06/02/2014 at 12:39PM
09/20/2014 at 10:35PM
05/23/2015 at 03:15AM
05/23/2015 at 03:21AM
06/25/2019 at 04:39PM
10/09/2020 at 07:30PM
04/26/2024 at 10:53AM
05/28/2024 at 04:31AM
12/18/2012 at 08:45PM
12/18/2012 at 09:22PM
12/18/2012 at 10:36PM
12/19/2012 at 12:04PM
12/20/2012 at 04:01PM
#24 - Marcin Szamotulski / @me_coot
12/20/2012 at 07:03PM
#25 - h_east (トロッコ6個) / @h_east
12/21/2012 at 06:02AM
12/21/2012 at 01:18PM
12/22/2012 at 05:06AM
12/23/2012 at 12:07AM
12/24/2012 at 12:04AM
12/24/2012 at 01:52PM