Comment Comment by piger OP might want to consider bracketed paste mode: https://cirw.in/blog/bracketed-paste parent piger 5 years ago