Jikku Jose
Jikku Jose

Reputation: 18804

Reliable solution to copy/paste Vim macros

enter image description here

Line number 7 shows the paste of a macro I recorded. When I copy/paste it, the following 4 lines is what I get. I know we can replace ^[ character using <ESC>, but thats not just one, there is ^M & that too in many places. It doesn't seem to be a scalable way to get things done. I feel there is a better way to deal with this than by manually replacing the special characters. If anyone is aware of a better solution, please suggest?

Upvotes: 1

Views: 666

Answers (0)

Related Questions