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$ jjlld :/here$/,$-1w! test.out :qa! ENDTEST test text test tex start here some text test text test text OxjAykdd