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

Compare commits

..

16 Commits

Author SHA1 Message Date
87b45da4ee
Set plugin version to chylex-29 2024-03-22 00:08:11 +01:00
56ee5f3bd4
Disable speed search in Project tool window when NERDTree is enabled 2024-03-21 23:29:31 +01:00
aef6016b33
Apply scrolloff after executing native IDEA actions 2024-03-21 23:18:58 +01:00
c2c23d8059
Stay on same line after reindenting 2024-03-21 23:18:58 +01:00
854563130a
Update search register when using f/t 2024-03-21 23:18:58 +01:00
7c61822106
Automatically add unambiguous imports after running a macro 2024-03-21 23:18:58 +01:00
4fce924424
Fix(VIM-3179): Respect virtual space below editor (imperfectly) 2024-03-21 23:18:58 +01:00
56e8da8808
Fix(VIM-3178): Workaround to support "Jump to Source" action mapping 2024-03-21 23:18:58 +01:00
c5d108c3d6
Fix(VIM-3166): Workaround to fix broken filtering of visual lines 2024-03-21 23:18:58 +01:00
c76e4eabd4
Add support for count for visual and line motion surround 2024-03-21 23:18:58 +01:00
98c9579d8d
Fix vim-surround not working with multiple cursors
Fixes multiple cursors with vim-surround commands `cs, ds, S` (but not `ys`).
2024-03-21 23:18:58 +01:00
f060750768
Fix(VIM-696) Restore visual mode after undo/redo, and disable incompatible actions 2024-03-21 23:18:58 +01:00
83c2e1c362
Revert(VIM-2884): Fix moving lines to cursor 2024-03-21 23:18:57 +01:00
6555e8dddd
Respect count with <Action> mappings 2024-03-21 23:18:57 +01:00
528fd1b1d3
Change matchit plugin to use HTML patterns in unrecognized files 2024-03-21 23:18:57 +01:00
932fb509ff
Reset insert mode when switching active editor 2024-03-21 23:18:57 +01:00
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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)
} }
} }

View File

@ -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