view src/testdir/test38.in @ 12267:e3bde71afff0 v8.0.1013

patch 8.0.1013: terminal window behaves different from a buffer with changes commit https://github.com/vim/vim/commit/e561a7e2fa511d643c9692d26f4cf65378fd1983 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 29 22:44:59 2017 +0200 patch 8.0.1013: terminal window behaves different from a buffer with changes Problem: A terminal window with a running job behaves different from a window containing a changed buffer. Solution: Do not set 'bufhidden' to "hide". Fix that a buffer where a terminal used to run is listed as "[Scratch]".
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Aug 2017 23:00:04 +0200
parents 4541e06d4fb9
children
line wrap: on
line source


Test Virtual replace mode.

STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=x7f t_kb=x08
ggdGa
abcdefghi
jk	lmn
    opq	rst
uvwxyz
gg:set ai
:set bs=2
gR0 1
A
BCDEFGHIJ
	KL
MNO
PQRG:ka
o0
abcdefghi
jk	lmn
    opq	rst
uvwxyz
'ajgR0 1
A
BCDEFGHIJ
	KL
MNO
PQR:$
iab	cdefghi	jkl0gRAB......CDEFGHI.Jo:
iabcdefghijklmnopqrst0gRAB	IJKLMNO	QR:wq! test.out
ENDTEST