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):
05/23/2015 at 03:12AM
12/16/2015 at 10:33PM
01/01/2017 at 01:43PM
08/03/2017 at 09:24AM
07/09/2018 at 09:52AM
06/15/2020 at 01:14PM
04/19/2022 at 10:23AM
07/08/2022 at 10:56PM
09/28/2022 at 07:05AM
05/05/2023 at 08:07PM
#71 - Olivier Bégassat / @zk_evm
06/15/2023 at 08:08PM
01/05/2025 at 03:27PM
12/18/2012 at 08:05PM
12/18/2012 at 09:00PM
12/21/2012 at 10:08AM
12/22/2012 at 05:19PM
12/26/2012 at 09:29AM
01/03/2013 at 01:15PM
01/28/2013 at 10:28AM
02/22/2013 at 12:12PM
06/02/2013 at 10:51PM
02/19/2016 at 09:15AM
12/19/2012 at 11:14AM
10/19/2013 at 05:30PM
04/14/2024 at 03:54AM
12/18/2012 at 07:57PM
12/19/2012 at 12:48PM
12/21/2012 at 03:57AM
03/25/2015 at 01:40PM
06/07/2018 at 04:17PM