"C-r" in visual mode "r" command

Vegard Øye vegard_oye at hotmail.com
Fri Sep 23 23:49:02 CEST 2011


On 2011-09-22 23:16 +0200, York Zhao wrote:

> 1. Yank the strings "Foo"
> 2. Make an rectangle block to select the first column "1"
> 3. Press "r"
> 4. Press "C-r " followed by `"'

FWIW, the following produces what you want in Vim and Evil alike:

1. Yank the string into the register "a".
2. Select the first column.
3. Press "c".
4. Paste from the register with "C-r a".

(Since the change operation copies the original column into
the " register, we have to use another register.)

-- 
Vegard



More information about the implementations-list mailing list