I use the solution posted by markbirss.
It works.
I just wanted to add that you should enter those commands as a super user, otherwise the cursor will disappear when you open vim as a super user. This happened to me on a previous install and I was using a workaround to edit read-only files. Today, in a fresh install, I entered those commands as a super user and I'm not having that problem anymore.