I am running a RHEL 7.2 (Maipo) on an AWS instance with commandline access. To my greatest surprise, vim needs to be installed and as I am fairly new to RedHat, I was at a loss initially as to the easiest way to install it, so I am adding it below for future reference so beginners like myself can just crack on with it.
As root user issue the following command to install the vim editor on RedHat linux:
sudo yum install vim