diff options
author | Oliver Kiddle <opk@zsh.org> | 2014-11-03 00:36:00 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2014-11-03 00:36:00 +0100 |
commit | 73ca1531593eb6907bf639882effba47d574b744 (patch) | |
tree | 33aaf6631309337ff3199b2611b2c0ecb2835c62 /Test | |
parent | 4d89ec25f17712e8e1710727a7ca211c5591d9e9 (diff) | |
download | zsh-73ca1531593eb6907bf639882effba47d574b744.tar.gz zsh-73ca1531593eb6907bf639882effba47d574b744.tar.xz zsh-73ca1531593eb6907bf639882effba47d574b744.zip |
33593: support numeric argument to vi-join
Diffstat (limited to 'Test')
-rw-r--r-- | Test/X02zlevi.ztst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst index bd3105d14..f8a94ce3d 100644 --- a/Test/X02zlevi.ztst +++ b/Test/X02zlevi.ztst @@ -15,6 +15,18 @@ >BUFFER: good >CURSOR: 4 + zletest $' four\eO\C-v\tthree\eO two\eOone\e3J' +0:join lines with line count +>BUFFER: one two three +> four +>CURSOR: 7 + +# like real vi, we just join as many as possible, in vim this beeps + zletest $'two\eOone\e3J' +0:join more lines than possible +>BUFFER: one two +>CURSOR: 3 + zletest $'one two\eyb' 0:yank left moves the cursor >BUFFER: one two |