Fix tab completion issue for vi editing mode

Set macvim as default editor
Fix macvim_as_default_editor issue