VI to VIM Enhanced

I am a big fan of Nano but trying to learn the best tool for editing files in linux. I am trying to use VI but found that on the CentOS minimal install it does not have highlighting enabled and does not work with basic VI.

In order to get syntax highlighting to be enabled a couple of items need to be done. Goal here is to install VIM Enhanced Version.

Enough of that, lets get into it.

Install VIM Enhanced

yum -y install vim-enhanced

That is it, you can turn syntax highlighting on or off by:

:syantax on
:syantax off

That’s pretty simple, but hey if you did not know, now you do.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s