Export vim as local editor. Now let us hope this works if vim is not installed.