Brian Zwahr wrote:
I'm running into an issue that I'm not sure if it's a feature, a bug, or
just an oversight. If I open a file in ed, yank some text with `y`, then
open a new file for editing using `e`, I can't paste the yanked text with
`x`.

This has been GNU ed's behavior since the yank buffer was introduced in version 0.2 (1994). The yank buffer is cleared before closing the old file and opening the new.

I agree that it may be useful to keep the yank buffer between files, but it would be a major change because the yank buffer is implemented as a linked list of pointers to lines in the file buffer.


Best regards,
Antonio.

Reply via email to