mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2024-11-25 07:42:59 +01:00
Compare commits
16 Commits
dbf26be1f0
...
87b45da4ee
Author | SHA1 | Date | |
---|---|---|---|
87b45da4ee | |||
56ee5f3bd4 | |||
aef6016b33 | |||
c2c23d8059 | |||
854563130a | |||
7c61822106 | |||
4fce924424 | |||
56e8da8808 | |||
c5d108c3d6 | |||
c76e4eabd4 | |||
98c9579d8d | |||
f060750768 | |||
83c2e1c362 | |||
6555e8dddd | |||
528fd1b1d3 | |||
932fb509ff |
@ -14,7 +14,7 @@ ideaVersion=2023.3.3
|
|||||||
ideaType=IC
|
ideaType=IC
|
||||||
downloadIdeaSources=true
|
downloadIdeaSources=true
|
||||||
instrumentPluginCode=true
|
instrumentPluginCode=true
|
||||||
version=chylex-30
|
version=chylex-29
|
||||||
javaVersion=17
|
javaVersion=17
|
||||||
remoteRobotVersion=0.11.22
|
remoteRobotVersion=0.11.22
|
||||||
antlrVersion=4.10.1
|
antlrVersion=4.10.1
|
||||||
|
@ -91,6 +91,7 @@ import com.maddyhome.idea.vim.helper.vimDisabled
|
|||||||
import com.maddyhome.idea.vim.newapi.IjVimEditor
|
import com.maddyhome.idea.vim.newapi.IjVimEditor
|
||||||
import com.maddyhome.idea.vim.newapi.ij
|
import com.maddyhome.idea.vim.newapi.ij
|
||||||
import com.maddyhome.idea.vim.newapi.vim
|
import com.maddyhome.idea.vim.newapi.vim
|
||||||
|
import com.maddyhome.idea.vim.state.VimStateMachine
|
||||||
import com.maddyhome.idea.vim.state.mode.Mode
|
import com.maddyhome.idea.vim.state.mode.Mode
|
||||||
import com.maddyhome.idea.vim.state.mode.inSelectMode
|
import com.maddyhome.idea.vim.state.mode.inSelectMode
|
||||||
import com.maddyhome.idea.vim.state.mode.selectionType
|
import com.maddyhome.idea.vim.state.mode.selectionType
|
||||||
@ -363,7 +364,7 @@ internal object VimListenerManager {
|
|||||||
if (newEditor is TextEditor) {
|
if (newEditor is TextEditor) {
|
||||||
val editor = newEditor.editor
|
val editor = newEditor.editor
|
||||||
if (editor.isInsertMode) {
|
if (editor.isInsertMode) {
|
||||||
editor.vim.mode = Mode.NORMAL()
|
VimStateMachine.getInstance(editor).mode = Mode.NORMAL()
|
||||||
KeyHandler.getInstance().reset(editor.vim)
|
KeyHandler.getInstance().reset(editor.vim)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ public interface VimStateMachine {
|
|||||||
@Deprecated("Please use KeyHandlerState instead")
|
@Deprecated("Please use KeyHandlerState instead")
|
||||||
public val digraphSequence: DigraphSequence
|
public val digraphSequence: DigraphSequence
|
||||||
|
|
||||||
public val mode: Mode
|
public var mode: Mode
|
||||||
public var isDotRepeatInProgress: Boolean
|
public var isDotRepeatInProgress: Boolean
|
||||||
public var isRegisterPending: Boolean
|
public var isRegisterPending: Boolean
|
||||||
public val isReplaceCharacter: Boolean
|
public val isReplaceCharacter: Boolean
|
||||||
|
Loading…
Reference in New Issue
Block a user