From:How can I keep the code formated as original source when I paste them to vim?
When I copy some code from webpages and paste it to VIM,I find it becomes a mess style like a ladder as follows
Since it messed so regularly so I think maybe there's something wrong with myxxxxxx xxxxxx xxxxxx xxxxxxxxxx
.vimrc
which is as below:
Answer:
Do this before:
Then after::set paste
:set nopaste
沒有留言:
張貼留言