mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2025-08-20 23:49:50 +02:00
.github
.idea
.teamcity
annotation-processors
assets
doc
images
posts
Home.md
IdeaVim Plugins.md
NERDTree-support.md
Select-mode.md
ideajoin-examples.md
marketplace-plugin-example.md
set-commands.md
sethandler.md
support-guide.md
gradle
scripts
src
tests
vim-engine
vimscript-info
.editorconfig
.gitignore
AUTHORS.md
CHANGES.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE.txt
README.md
ThirdPartyLicenses.md
build.gradle.kts
gradle.properties
gradlew
gradlew.bat
qodana.sarif.json
qodana.yaml
settings.gradle.kts
1.2 KiB
1.2 KiB
FAQ
What is select mode?
This mode is where the selection works the same as system selection. When you start typing, the text in the selected area is removed and replaced by the new characters that are being typed in.
Why is select mode enabled during refactoring?
With the help of the select mode, you can immediately enter the variable name during refactoring. You can go to the beginning or the end of a variable using the arrow keys. If you need to make more complex changes, you can always go back to normal mode with <ESC>
.
What if I want to use visual mode during refactoring?
Select mode is controlled by the keymodel
, selectmode
and idearefactormode
options. Set idearefactormode
to visual
to adjust this behavior.
set idearefactormode=visual
What if I don't want to change the mode during refactoring?
set idearefactormode=keep
See Also
- IdeaVim options: https://github.com/JetBrains/ideavim/blob/master/doc/set-commands.md
- Vim documentation about select mode: https://vimhelp.org/visual.txt.html#Select-mode
- Stackoverflow explanation: https://vi.stackexchange.com/questions/4891/what-is-the-select-mode-and-when-is-it-relevant-to-use-it