From 99382e689dc41731ee225221964d58732ff7a4e6 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 13 Nov 2014 09:58:34 +0100 Subject: 33669: allow an empty line to be yanked with yy This by allocating 1 byte instead of 0 for the empty buffer. --- Test/X02zlevi.ztst | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Test/X02zlevi.ztst') diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst index 7e5385bfe..4b9c4d91f 100644 --- a/Test/X02zlevi.ztst +++ b/Test/X02zlevi.ztst @@ -30,6 +30,13 @@ >BUFFER: one >CURSOR: 0 + zletest $'1\eo\eyya2\epa3' +0:yank and paste blank line +>BUFFER: 1 +>2 +>3 +>CURSOR: 5 + zletest $' four\eO\C-v\tthree\eO two\eOone\e3J' 0:join lines with line count >BUFFER: one two three -- cgit 1.4.1