aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2022-01-21 09:36:26 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2022-01-22 11:57:06 +0900
commitd7ab4e819a89c12b74772217e725c640858a18c6 (patch)
treefbbc990be752cee4b482c31057dc29897812a9b3 /runtime
parent431915fe6af4e176a84a60c95ad7aa9d36b71e50 (diff)
downloadrneovim-d7ab4e819a89c12b74772217e725c640858a18c6.tar.gz
rneovim-d7ab4e819a89c12b74772217e725c640858a18c6.tar.bz2
rneovim-d7ab4e819a89c12b74772217e725c640858a18c6.zip
vim-patch:8.2.4160: cannot change the register used for Select mode delete
Problem: Cannot change the register used for Select mode delete. Solution: Make CTRL-R set the register to be used when deleting text for Select mode. (Shougo Matsushita, closes vim/vim#9531) https://github.com/vim/vim/commit/4ede01f18884961f2e008880b4964e5d61ea5c36
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/visual.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index 4a69fc989b..5563a56216 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -478,6 +478,10 @@ Commands in Select mode:
- ESC stops Select mode.
- CTRL-O switches to Visual mode for the duration of one command. *v_CTRL-O*
- CTRL-G switches to Visual mode.
+- CTRL-R {register} selects the register to be used for the text that is
+ deleted when typing text. *v_CTRL-R*
+ Unless you specify the "_" (black hole) register, the unnamed register is
+ also overwritten.
Otherwise, typed characters are handled as in Visual mode.