Vim安装与配置

Vim安装与配置_第1张图片

按照上图操作挂载光盘镜像在/mnt下,cd /mnt/Server 下安装上图标记的三个包:

[root@guojianjun Server]# rpm -ivh vim-common-7.0.109-6.el5.i386.rpm 

warning: vim-common-7.0.109-6.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:vim-common             ########################################### [100%]

[root@guojianjun Server]# rpm -ivh vim-minimal-7.0.109-6.el5.i386.rpm 

warning: vim-minimal-7.0.109-6.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

        package vim-minimal-7.0.109-6.el5.i386 is already installed

[root@guojianjun Server]# cd

[root@guojianjun Server]# rpm -ivh vim-enhanced-7.0.109-6.el5.i386.rpm 

warning: vim-enhanced-7.0.109-6.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186

Preparing...                ########################################### [100%]

   1:vim-enhanced           ########################################### [100%]

[root@guojianjun Server]# cd

第二步是:

cp /usr/share/vim/vim70/vimrc_example.vim ~/.vimrc

 

转自:http://wenku.baidu.com/view/a793dc06bed5b9f3f90f1c8a.html

你可能感兴趣的:(Vim安装与配置)