editor: autocomplete on Esc