编辑/etc/profile文件,在文件末尾加一下内容:
export TERM=xterm-color
接着让其变为全局变量
source /etc/profile
编辑/etc/vimrc文件,在文件末尾添加以下内容:
66 syntax on67 set tabstop=468 set softtabstop=469 set shiftwidth=470 set autoindent71 set nu72 73 set nocompatible74 filetype plugin indent on
75 hi Comment ctermfg =blue ##解决蓝色注释看不清的问题