summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2022-01-20 15:26:03 +0000
committerBram Moolenaar <Bram@vim.org>2022-01-20 15:26:03 +0000
commit4ede01f18884961f2e008880b4964e5d61ea5c36 (patch)
tree115fa1e06c166a2145decfafced7db21c687143c /runtime
parent92000e2e713a68f80a25472cfa74058366c58c9c (diff)
patch 8.2.4160: cannot change the register used for Select mode deletev8.2.4160
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 #9531)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/visual.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/visual.txt b/runtime/doc/visual.txt
index 460cf5ad61..eed1023f73 100644
--- a/runtime/doc/visual.txt
+++ b/runtime/doc/visual.txt
@@ -488,6 +488,11 @@ 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.