Vim: Allow esc/ctrl-c to exit IntelliSense in snippet filling

  • Click thumbs-up ๐Ÿ‘ on this issue if you want it!
  • Click confused ๐Ÿ˜• on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


Currently while you are filling a snippet, <ESC> or <C-c> would quit insert mode instead of exiting IntelliSense (not selecting any suggestion and hide the panel).

If I have more places to fill in the snippet, and IntelliSense doesnโ€™t provide anything I want, I have to exit filling the snippet and manually jump to the next place.

  • VSCode Version: 1.7.1
  • VsCodeVim Version: 0.4.1
  • OS: OS X 10.11.6

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 15
  • Comments: 16 (11 by maintainers)

Most upvoted comments

Like the last response, I am not 100% sure, but I believe I am experiencing the same issue. While I am in INSERT mode, and I start typing, IntelliSense pops up. If I donโ€™t care to use any ItelliSense suggestion, I naturally hit ESC, which closes the IntelliSense window, but also exits the INSERT mode. I would rather remain in INSERT mode. Can this be a configuration option in the extension? Alternatively, is there another keyboard shortcut for closing the IntelliSense window?

I have a similar issue with intellisense (but not in a snippets scenario, so Iโ€™m not sure if another discussion needs to be opened or not - you decide), but when Iโ€™m in insert mode and an intellisense window pops up as Iโ€™m typing, my natural reaction is to close the popup using the escape key, which I would expect (rightly or wrongly) for the popup to be closed (if one is open) and a further press would then drop me out of insert mode.

Like I said, not quite the same issue, but it feels like weโ€™re talking about the same thing. Please correct me if Iโ€™m wrong.

I found the double esc to exit out of the autocomplete and then insert mode to be astonishingly annoying. This is mostly because if you pay attention, the autocomplete window is almost always open when youโ€™re typing, which is not like Vim at all.

We could make it a config option, I guess.