Hacker symbol

May 10, 2023 ~ 1 min read

Wrapping multiline in " (or any character)


:%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.


Sebastian BolaƱos

Hi, I'm Sebastian. I'm a software developer from Costa Rica. You can follow me on Twitter. I enjoy working on distributed systems.