Compare commits

..
Author SHA1 Message Date
chylex dbf26be1f0 Set plugin version to chylex-30 2024-03-22 07:07:10 +01:00
chylex 500756c86f Disable speed search in Project tool window when NERDTree is enabled 2024-03-22 07:06:45 +01:00
chylex 5967979113 Apply scrolloff after executing native IDEA actions 2024-03-22 07:06:44 +01:00
chylex 358a13c22c Stay on same line after reindenting 2024-03-22 07:06:44 +01:00
chylex 64229d327a Update search register when using f/t 2024-03-22 07:06:44 +01:00
chylex 62d38eb4df Automatically add unambiguous imports after running a macro 2024-03-22 07:06:44 +01:00
chylex 4e15b65cec Fix(VIM-3179): Respect virtual space below editor (imperfectly) 2024-03-22 07:06:44 +01:00
chylex e4d31379f0 Fix(VIM-3178): Workaround to support "Jump to Source" action mapping 2024-03-22 07:06:44 +01:00
chylex 195910b3a5 Fix(VIM-3166): Workaround to fix broken filtering of visual lines 2024-03-22 07:06:44 +01:00
chylex 10d476340f Add support for count for visual and line motion surround 2024-03-22 07:06:44 +01:00
chylex 2c4ccc77b9 Fix vim-surround not working with multiple cursors
Fixes multiple cursors with vim-surround commands `cs, ds, S` (but not `ys`).
2024-03-22 07:06:44 +01:00
chylex 4b0c2bce18 Fix(VIM-696) Restore visual mode after undo/redo, and disable incompatible actions 2024-03-22 07:06:43 +01:00
chylex a2d5adbc6c Revert(VIM-2884): Fix moving lines to cursor 2024-03-22 07:06:43 +01:00
chylex 3b5b4ed84c Respect count with <Action> mappings 2024-03-22 07:06:43 +01:00
chylex a33addb6ea Change matchit plugin to use HTML patterns in unrecognized files 2024-03-22 07:06:43 +01:00
chylex 626b6ee0af Reset insert mode when switching active editor 2024-03-22 07:06:43 +01:00
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ ideaVersion=2023.3.3
ideaType=IC
downloadIdeaSources=true
instrumentPluginCode=true
version=chylex-29
version=chylex-30
javaVersion=17
remoteRobotVersion=0.11.22
antlrVersion=4.10.1
@@ -91,7 +91,6 @@ import com.maddyhome.idea.vim.helper.vimDisabled
import com.maddyhome.idea.vim.newapi.IjVimEditor
import com.maddyhome.idea.vim.newapi.ij
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.inSelectMode
import com.maddyhome.idea.vim.state.mode.selectionType
@@ -364,7 +363,7 @@ internal object VimListenerManager {
if (newEditor is TextEditor) {
val editor = newEditor.editor
if (editor.isInsertMode) {
VimStateMachine.getInstance(editor).mode = Mode.NORMAL()
editor.vim.mode = Mode.NORMAL()
KeyHandler.getInstance().reset(editor.vim)
}
}
@@ -33,7 +33,7 @@ public interface VimStateMachine {
@Deprecated("Please use KeyHandlerState instead")
public val digraphSequence: DigraphSequence
public var mode: Mode
public val mode: Mode
public var isDotRepeatInProgress: Boolean
public var isRegisterPending: Boolean
public val isReplaceCharacter: Boolean