view src/testdir/test20.in @ 8730:c1ac169ee618 v7.4.1654

commit https://github.com/vim/vim/commit/52c6eaffd43a8c8865f8d6ed7cde0a8b137479e2 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 25 18:42:46 2016 +0100 patch 7.4.1654 Problem: Crash when using expand('%:S') in a buffer without a name. Solution: Don't set a NUL. (James McCoy, closes https://github.com/vim/vim/issues/714)
author Christian Brabandt <cb@256bit.org>
date Fri, 25 Mar 2016 18:45:05 +0100
parents 22dfcd1494e4
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
:so tiny.vim
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