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