Centos has its own VI by default, which is not rich in VIM functions. install VIM to replace VI. Use Yum to find the VIM package in the source. I don't know which one to install. 12345yumsearchvimvim-X11.i386: TheVIMversionofthevieditorforthe
Centos has its own VI by default, which is not rich in VIM functions. install VIM to replace VI.
Use Yum to find the VIM package in the source. I don't know which one to install.
12345 |
yum search vimvim-X11.i386 : The VIM version of the vi editor for the X Window System.vim-common.i386 : The common files needed by any version of the VIM editor.vim-enhanced.i386 : A version of the VIM editor which includes recent enhancements.vim-minimal.i386 : A minimal version of the VIM editor. |
Check which VIM package belongs to in the system where VIM is installed:
1234 |
which vim/usr/bin/vimrpm -qf /usr/bin/vimvim-enhanced-7.0.109-7.el5 |
Install VIM:
1 |
yum install vim-enhanced |