:%s/./"&"/c
.
is for each line
The string we use to replace the matched pattern is "&", where & stands for whatever was matched by the pattern.
May 10, 2023 ~ 1 min read
:%s/./"&"/c
.
is for each line
The string we use to replace the matched pattern is "&", where & stands for whatever was matched by the pattern.
Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on distributed systems.