about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-12-08 17:23:23 +0100
committerOliver Kiddle <opk@zsh.org>2014-12-08 17:24:48 +0100
commit88f4e24d4c42de1072898cd0e26e3d43c7de448c (patch)
tree326ea242e10e31ece5279ae9049abb19f01a1574 /Test
parent53e44daeba8481858cded683a780841085f36988 (diff)
downloadzsh-88f4e24d4c42de1072898cd0e26e3d43c7de448c.tar.gz
zsh-88f4e24d4c42de1072898cd0e26e3d43c7de448c.tar.xz
zsh-88f4e24d4c42de1072898cd0e26e3d43c7de448c.zip
33924: allow vi line/characterwise mode to be forced
Diffstat (limited to 'Test')
-rw-r--r--Test/X02zlevi.ztst21
1 files changed, 21 insertions, 0 deletions
diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst
index 4f2f3193d..7bb35d52f 100644
--- a/Test/X02zlevi.ztst
+++ b/Test/X02zlevi.ztst
@@ -287,6 +287,27 @@
 >BUFFER: one wo
 >CURSOR: 2
 
+  zletest $'keepnot\eo  unwanted\ekhhcvj '
+0:force character-wise change to join lines
+>BUFFER: keep wanted
+>CURSOR: 5
+
+  zletest $'}\eOkeep{del\eF{dvj'
+0:character-wise delete to beginning of line leaves the newline'
+>BUFFER: keep
+>}
+>CURSOR: 3
+
+  zletest $'keep\eOdel\edVh'
+0:force line-wise delete of line
+>BUFFER: keep
+>CURSOR: 0
+
+  zletest $'one two three\eFwdVawaX'
+0:line-wise force of a text object
+>BUFFER: X
+>CURSOR: 1
+
   zletest $'one two\evbcx'
 0:change selection
 >BUFFER: one x