vi ~/.vimrc
在自己的 vimrc 配置文件中增加下面的配置即可
set encoding=utf-8 " The encoding displayed.
set fileencoding=utf-8 " The encoding written to file.
vi ~/.vimrc
在自己的 vimrc 配置文件中增加下面的配置即可
set encoding=utf-8 " The encoding displayed.
set fileencoding=utf-8 " The encoding written to file.