In my .vim settings, I have audo indent and smart indent enabled. Sometimes when I'm copying code, this causes the code to completely go wonky.
So, to avoid this and just copy the code, I disable the vim settings and open the file using
vim -u NONE filename
No comments:
Post a Comment