From f01188ec2ad14165c8e580826721cbb71c49e2a2 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sun, 9 Nov 2014 17:33:02 +0100 Subject: 33639: fix bug with vi operators on a blank line and with backward bracket matching --- Test/X02zlevi.ztst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Test/X02zlevi.ztst') diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst index 561a5fd73..7e5385bfe 100644 --- a/Test/X02zlevi.ztst +++ b/Test/X02zlevi.ztst @@ -15,6 +15,21 @@ >BUFFER: good >CURSOR: 4 + zletest $'{ ({[}]) }\e0c%chg' +0:change forward to matching bracket +>BUFFER: chg +>CURSOR: 3 + + zletest $'s( match )\ed%' +0:delete backwards to matching bracket +>BUFFER: s +>CURSOR: 0 + + zletest $'one\eo\edd' +0:delete empty line +>BUFFER: one +>CURSOR: 0 + zletest $' four\eO\C-v\tthree\eO two\eOone\e3J' 0:join lines with line count >BUFFER: one two three -- cgit 1.4.1