I am going to be pasting a lot of characters into a file. Each time I paste something, the pasted element will need to be wrapped in quotes and followed by a comma. Is there a way to automatically wrap these characters after each paste in vim? The paste will be coming from the system clipboard, not a vim paste buffer.For example, say the system clipboard contains a, when pasting this into vim using a middle-click, I would like it to insert a,.
Is it possible to wrap characters around text every time you paste something from the system clipboard?
insert mode;os clipboard