Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bugs in vi-delete and vi-put-*



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