Use mvim in terminal as EDITOR.