1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2024-11-25 16:42:55 +01:00

Compare commits

...

2 Commits

2 changed files with 6 additions and 1 deletions

View File

@ -11,7 +11,7 @@
ideaVersion=2023.2 ideaVersion=2023.2
downloadIdeaSources=true downloadIdeaSources=true
instrumentPluginCode=true instrumentPluginCode=true
version=chylex-20 version=chylex-21
javaVersion=17 javaVersion=17
remoteRobotVersion=0.11.17 remoteRobotVersion=0.11.17
antlrVersion=4.10.1 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 // See VIM-2974 for example where it was broken
return !editor.isOneLineMode return !editor.isOneLineMode
} }
override fun executeHandler(editor: Editor, caret: Caret?, dataContext: DataContext?) {
if (caret == null || caret === editor.caretModel.primaryCaret)
super.executeHandler(editor, caret, dataContext)
}
} }
/** /**