View vim installation information:
rpm -qa | grep vim
If you have installed a similar line will return the following information:
If it does not return the Number inconsistent or only one, use the following command to install:
yum -y install vim-enhanced
You can use to edit the file after the installation is complete vim!