Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bugs in vi-delete and vi-put-*
- X-seq: zsh-workers 4682
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Phil Pennock <phil@xxxxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: Bugs in vi-delete and vi-put-*
- Date: Sat, 21 Nov 1998 20:04:48 -0800
- In-reply-to: <19981122032724.19517@athenaeum.>
- References: <981121181516.ZM28961@xxxxxxxxxxxxxxxxxxxxxxx> <19981122032724.19517@athenaeum.>
On Nov 22, 3:27am, Phil Pennock wrote:
} Subject: Re: Bugs in vi-delete and vi-put-*
}
} 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.
}
} This is consistent with vi. dd deletes current line, including newline.
Yes, I know. The problem is not that dd includes the newline, it's that
there's still a phantom newline left behind when the buffer is "empty."
I worded the "even though" clause badly.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author