CentOS comes with vim-minimal preinstalled by default which lacks many features i.e. support for syntax highlighting and many other features.
First login on centOS as a root user.
Now check the currently installed version by running the given command at the command line and note down the list of enabled and disabled features.
# vi --version
You will have to install vim-enhanced to access all the features. This could be done by running commands on command line by following the given steps.
1. Uninstall vim-minimal.
# yum remove -y vim-minimal
2. Remember that when you remove vim it will also remove sudo. Must install sudo again.
# yum install -y sudo
3. Install vim-enhanced and related dependencies.
# yum install –y vim-enhanced
After that check the vim --version again.
Note that the command is now vim instead of vi.
# vim –version
Now it will show you this screen.
- 1 Users Found This Useful
How to change Hostname in VPS Hosting?
There are 2 ways to change the Hostname of your VPS · Change Hostname through...How to reinstall the OS on VPS?
Here is a simple guide to show you how to reinstall the OS on VPS. · First make a log in...How to change Root Password of VPS in client Area?
First login to client area Now navigate to VPS Management section and click on change password...How to check the tasks in client Area?
First login to client area. Now navigate to VPS Management section and click on Tasks icon. t...How to enable rescue mode of your VPS in client Area?
When you are unable to access your VPS. While making changes you have done such a thing which you...