Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bugs in vi-delete and vi-put-*
- X-seq: zsh-workers 4680
- From: Phil Pennock <phil@xxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: Bugs in vi-delete and vi-put-*
- Date: Sun, 22 Nov 1998 03:27:24 +0000
- In-reply-to: <981121181516.ZM28961@xxxxxxxxxxxxxxxxxxxxxxx>; from Bart Schaefer on Sat, Nov 21, 1998 at 06:15:15PM -0800
- Mail-followup-to: zsh-workers@xxxxxxxxxxxxxxx
- Organisation: Organisation? Here? No, over there ---->
- References: <981121181516.ZM28961@xxxxxxxxxxxxxxxxxxxxxxx>
On Sat, Nov 21, 1998 at 06:15:15PM -0800, Bart Schaefer wrote:
> cursor after "line", type ESC dd P j. Note that you end up on the line
> below the prompt, even though there was no newline in what was deleted.
> Now type p. Note that you end up with:
This is consistent with vi. dd deletes current line, including newline.
If you type dd on a line /with content/ in a multiline command, that
line is deleted. Your point about a feep on an empty line is noted.
It looks as though you want dd, when there is only one line, to behave
like 0d$ -- special case it?
HTH
--
--> Phil Pennock ; GAT d- s+:+ a22 C++(++++) UL++++/I+++/S+++/H+ P++@ L+++
E-@ W(+) N>++ o !K w--- O>+ M V !PS PE Y+ PGP+ t-- 5++ X+ R !tv b++>+++ DI+ D+
G+ e+ h* r y?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author