Skip to content

Commit

Permalink
refactor: Update search pattern description and key event handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dankinsoid committed Jan 20, 2025
1 parent 728dd72 commit 75ecebf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
.qodana
build
.DS_Store
.aider*
.env
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This plugin brings multiple cursors and selections to `IdeaVim`
- Commands work only in selected text if there's an active selection
### Available Commands
- `/pattern`: Search for pattern
- `/regex-pattern`: Search for regex pattern
- `f{char}`: Find character forward
- `F{char}`: Find character backward
- `t{char}`: Till before character forward
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ class VimMulticursor : VimExtension {
highlightHandler.clearAllMulticursorHighlighters(editor)
false
}
key.keyCode == KeyEvent.VK_ENTER -> {
exEntryPanel.deactivate(true)
KeyEvent.VK_ENTER -> {
highlightHandler.clearAllMulticursorHighlighters(editor)
panel.deactivate(refocusOwningEditor = false, resetCaret = true)
select(editor, panel.actualText, select)
Expand Down

0 comments on commit 75ecebf

Please sign in to comment.