我正在使用:set fileencoding=utf-8并且文件已正确保存,但是下次打开它时,我会收到乱码,并:set fileencoding?说未设置该选项.
:set fileencoding=utf-8
:set fileencoding?
从文档中我了解到我不应该触及该encoding选项.
encoding
在VIM中为文件指定编码的正确方法是什么?
vim encoding
encoding ×1
vim ×1