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 #9531)
This commit is contained in:
Shougo Matsushita
2022-01-20 15:26:03 +00:00
committed by Bram Moolenaar
parent 92000e2e71
commit 4ede01f188
6 changed files with 95 additions and 4 deletions

View File

@ -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.