- Open the Linux terminal and type the following code : sudo yum install vim
- If it's asks for a password enter your password.
- After that close the terminal.
- Now syntax colors are enabled in your terminal.Test it with a source code.
- If it's not working, reboot your machine and test again with a source code.
- Wait until installation complete.
~ Thank you ! ~
- Wait until package load. After it loads up, it will ask your permission to download and install VIM. Type "y" .