From c7ff843ecf60ab74ce98929e45029b1aef5014e1 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 5 Nov 2014 22:50:48 +0100 Subject: 33604: fix change merging for vi mode where a change has just been undone --- Test/X02zlevi.ztst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Test/X02zlevi.ztst') diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst index f8a94ce3d..561a5fd73 100644 --- a/Test/X02zlevi.ztst +++ b/Test/X02zlevi.ztst @@ -205,6 +205,12 @@ zletest $'pre\eA123\C-_\C-y\eu' 0:undo and redo in insert mode, undo in command >BUFFER: pre +>CURSOR: 2 + + zletest $'two\eOone\eo\euo\eu' +0:undo starting with a next change in the change list +>BUFFER: one +>two >CURSOR: 2 zpty_run 'bindkey "^Gu" split-undo' -- cgit 1.4.1