1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2024-10-18 19:42:46 +02:00

Compare commits

...

2 Commits

2 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@
ideaVersion=2023.2
downloadIdeaSources=true
instrumentPluginCode=true
version=chylex-20
version=chylex-21
javaVersion=17
remoteRobotVersion=0.11.17
antlrVersion=4.10.1

View File

@ -174,6 +174,11 @@ internal class VimEnterHandler(nextHandler: EditorActionHandler?) : VimKeyHandle
// See VIM-2974 for example where it was broken
return !editor.isOneLineMode
}
override fun executeHandler(editor: Editor, caret: Caret?, dataContext: DataContext?) {
if (caret == null || caret === editor.caretModel.primaryCaret)
super.executeHandler(editor, caret, dataContext)
}
}
/**