VIM编辑器中的尾随字符

时间:2015-01-01 13:22:19

标签: vim

vim demo.text
Error detected while processing /home/ftdetect/less.vim:
line    2:
E492: Not an editor command: ^M
Error detected while processing /home/ftdetect/sinatra.vim:
line    2:
E492: Not an editor command: ^M
line    3:
E488: Trailing characters
Error detected while processing /home/plugin/ScreenShot.vim:
line   94:
E488: Trailing characters
line  105:
E488: Trailing characters

这是我在打开vim编辑器时遇到的错误

1 个答案:

答案 0 :(得分:1)

可能您尝试从Windows获取这些文件。尝试运行

dos2unix demo.text demo.text