view src/testdir/test20.in @ 27428:3f8a57b8c7d8 v8.2.4242

patch 8.2.4242: put in Visual mode cannot be repeated Commit: https://github.com/vim/vim/commit/fb55207ed17918c8a2a6cadf5ad9d5fcf686a7ab Author: Shougo Matsushita <Shougo.Matsu@gmail.com> Date: Fri Jan 28 16:01:13 2022 +0000 patch 8.2.4242: put in Visual mode cannot be repeated Problem: Put in Visual mode cannot be repeated. Solution: Use "P" to put without yanking the deleted text into the unnamed register. (Shougo Matsushita, closes #9591)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Jan 2022 17:15:03 +0100
parents 30bdd2e4a6f9
children
line wrap: on
line source

Tests Blockwise Visual when there are TABs before the text.
First test for undo working properly when executing commands from a register.
Also test this in an empty buffer.

STARTTEST
G0"ay$k@au
:new
@auY:quit!
GP
/start here$
"by$jjlld
/456$
jj"bP
:/56$/,$-1w! test.out
:qa!
ENDTEST

123456
234567
345678

test text test tex start here
		some text
		test text
test text

OxjAykdd