767   Linux

vim粘贴时,如果有注释或者缩进,会导致后面粘贴内容混乱,解决方法比较简单:

1,在命令行下设置粘贴模式

:set paste

2,恢复

:set paste!



Leave a Reply

Your email address will not be published. Required fields are marked *