Don't set vi as the editor.