Mercurial > vim
diff runtime/doc/visual.txt @ 27263:93d4ee1e6113 v8.2.4160
patch 8.2.4160: cannot change the register used for Select mode delete
Commit: https://github.com/vim/vim/commit/4ede01f18884961f2e008880b4964e5d61ea5c36
Author: Shougo Matsushita <Shougo.Matsu@gmail.com>
Date: Thu Jan 20 15:26:03 2022 +0000
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Jan 2022 16:30:04 +0100 |
parents | 786b2a8ec970 |
children | 3649b5a6b1b6 |
line wrap: on
line diff
--- 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.