#tar -xvjf vim-7.3.tar.bz2 -C /usr/src/
#cd /usr/src/vim73/src
#./configure --prefix=/usr/local
#make && make install
#ln -sf /usr/local/bin/vim /usr/bin/vi
#vi ~/.vimrc 添加如下各项
syntax on
set ai!
set showmatch
set ruler
set incsearch
set vb t_vb=
set smartindent
set shiftwidth=3
set nu!
set mouse=a
至此vi一下吧,感觉编辑器好用多了
阅读(1579) | 评论(0) | 转发(0) |