发布于 2022-08-22 02:45:41

vim总是以replace模式启动

~/.vimrc中添加:

set termencoding=utf-8
set fileformats=unix
set encoding=prc

通常还会加上syntax on:

syntax on
set termencoding=utf-8
set fileformats=unix
set encoding=prc

欢迎留言