1.设置高亮显示,设置行号自动换行等。 vi ~/.vimrc syntax on set showmode set autowrite set num set autoindent set showmatch