vi ~/.vimrc //新建文件
syntax on
set showmode
set autowrite
set number
set encoding=utf-8 fileencodings=ucs-bom,utf-8,cp936
vi ~/.vimrc //新建文件
syntax on
set showmode
set autowrite
set number
set encoding=utf-8 fileencodings=ucs-bom,utf-8,cp936
转载于:https://www.cnblogs.com/wujf/p/8758503.html