This plugin brings multiple cursors and selections to IdeaVim
-
Type
mc
(multicursor) and a vim command to create cursors -
Type
ms
(multiselect) and a vim command to select multiple items -
If you previously selected some text, then the commands work only in the selected text
-
Supported vim commands:
/
,f
,t
,w
,W
,b
,B
,e
,E
-
Type
mca
(multicursor add) to add (or remove) a virtual caret -
Type
mci
(multicursor insert) to insert real carets instead of virtual -
Type
mcd
(multicursor delete) to remove all virtual carets
Example:
type ms/print
to select all print
s in selected text
Install plugin from Intellij Idea Marketplace and add the following option on top of your ./ideavimrc
:
set multicursor
also you can map commands, for example:
map q <Plug>(multicursor-ms/)
map z <Plug>(multicursor-mca)
map Z <Plug>(multicursor-mci)
After IdeaVim reboot you can use this plugin
Just as IdeaVim, this plugin is licensed under the terms of the GNU Public License version 3 or any later version.
Plugin icon is merged icons of IdeaVim plugin and a random sneaker by FreePic from flaticon.com
-
Using IDE built-in plugin system:
Settings/Preferences > Plugins > Marketplace > Search for "VimMulticursor" > Install Plugin
-
Manually:
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Plugin based on the IntelliJ Platform Plugin Template.