What's the error message when you type "vi" in the command prompt ? I think the path is not in you default searching path.
Find where vim is installed by using "whereis vim" or "locate vim". then use the absolute path to invoke vim. If this can work, you can add the path of vim to your default searching path.