Let Vim insert mode escape to normal mode even if suggestion dropdown open

Use case or problem

When typing a tag name or a file link in vim insert mode, obsidian will offer a dropdown of suggestions. If you want to go back to normal mode, you have to remember to hit escape twice if the suggestion dropdown is open while you are typing.

Proposed solution

Hitting escape while the suggestion dropdown is open only closes the suggestion box but I think it should put you in normal mode regardless of whether the suggestion dropdown is open. It’s annoying to think you’re in normal mode and try to do something only to realize you’re still in insert mode.

Current workaround (optional)

I attempted to use the vimrc plugin to imap <Esc> <Esc><Esc> but this doesn’t seem to work for me. Other workaround suggestions are welcome.


I’m also facing this issue. It really takes the flow out of vim.
It should be a simple fix. Hopefully, it’ll be addressed.

1 Like

Would really love to see this fixed as well.

1 Like

I have the same issue and it is pretty distractive.

1 Like

Related to: https://forum.obsidian.md/t/support-shift-esc-for-closing-autocompletion-popup/46176

Would love to see a solution to this! The autocomplete popup completely destroys my flow whenever it shows up :slightly_frowning_face:

1 Like

Another +1 for getting this fixed!

Totally agreed here!