vim /etc/vimrc
set ts=4
set expandtab
set autoindent
set nu
--------------------------------------------
取消alias vi=vim
vi /home/kouwq/.bashrc
最后加上vi='vi'
或者删除vi='vim'(如果有这一行的话)
--------------------------------------------------
vim /etc/virc
set ts=4
set expandtab
set autoindent
set nu
----------------------------------------------
代码规范,每行不能超过80字符
set colorcolumn=81