In sublime 3, the new command for exiting_insert_mode
(for Vintageous used in Sublime Text 3 vs Vintage used in 2) is
vi_enter_normal_mode
Create a plugin:
import sublime, sublime_plugin
class ExitAutoCompleteAndInsertModeCommand(sublime_plugin.TextCommand):
def run(self, edit):
self.view.run_command("hide_auto_complete")
self.view.run_command("vi_enter_normal_mode")
Then add this key binding:
{ "keys": ["escape"], "command": "exit_auto_complete_and_insert_mode", "context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": true }
]
}