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)
@lucastheisen @muhajirframe Use
<shift+esc>
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.
Iโm going to close this issue after adding it to the README: https://github.com/VSCodeVim/Vim#there-are-annoying-intellisensenotificationspopups-that-i-cant-close-with-esc-or-im-in-a-snippet-and-i-want-to-close-intellisense