Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in ZSH's vi emulation



On Nov 3,  1:43pm, Oliver Kiddle wrote:
}
} Works well in my testing too. We should add a new testcase too such
} as that below.

Revised somewhat:

diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst
index ced7030..70fef4c 100644
--- a/Test/X02zlevi.ztst
+++ b/Test/X02zlevi.ztst
@@ -244,6 +244,14 @@
 >BUFFER: binging
 >CURSOR: 3
 
+  print -u $ZTST_fd 'This test may hang the shell when it fails...'
+  zletest $'worm\erdhd..'
+0:use of vi-repeat as the motion and repeat after a failed change
+>BUFFER: word
+>CURSOR: 2
+F:For vi compatibility, "." should repeat the "rd" change after "d."
+F:Update result to ">BUFFER: wodd" if compatibility is repaired.
+
   zpty_run 'bindkey "^_" undo'
   zletest $'undoc\037e'
 0:use of undo in vi insert mode



Messages sorted by: Reverse Date, Date, Thread, Author