配置Vim颜色

输入命令: vi /etc/vimrc

在打开的配置文件中 最后 添加 需要的特性后保存并退出
set nu
set ts=4
set autoindent
set cindent
set smartindent
set showmatch
set ruler
set cindent
set mouse=a

syntax on

 

 

配置Vim颜色_第1张图片

 

重新用vim 打开文件 颜色变化

 

你可能感兴趣的:(配置)