Test if vim is present, and if it is, set it as the default editor.