1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-03-02 16:22:31 +01:00

VIM-674 Don't handle <Tab> in Insert mode in Vim emulation

It breaks several IDE actions that provide their own <Tab> handlers
like Emmet or parameters completion in RubyMine and AppCode.
This commit is contained in:
Andrey Vlasovskikh 2014-04-29 20:54:32 +04:00
parent 276755ae9d
commit f6cb04c7ef

View File

@ -139,7 +139,8 @@ public class VimShortcutKeyAction extends AnAction implements DumbAware {
return isExitInsertMode(keyStroke);
}
if (CommandState.inInsertMode(editor)) {
if (keyCode == VK_ENTER) {
// XXX: <Enter> and <Tab> won't be recorded in macros
if (keyCode == VK_ENTER || keyCode == VK_TAB) {
return false;
}
// Debug watch, Python console, etc.