Feat: Ctrl-Y (yank)
Ctrl-K ("kill") still kills text from the cursor to the end of the line, however it looks like Ctrl-Y ("yank") which pastes back the kill text has been removed in the latest release (Version 1.0.18). I'm quite sure this worked previously. I believe from a previous issue that Claude Code is using GNU Readline which supports these keychords (as well as emacs).
We've never had support for Ctrl - Y / yank / buffers, so this doesn't seem to be a regression
there should be Ctrl+_ for undo though
the killed text is not recoverable. It doesn't go to: * The system clipboard (can't paste with cmd-v/ctrl-v) * An Emacs-style kill ring (can't yank with ctrl-y)
This makes ctrl-k a destructive operation with no undo/recovery mechanism.
Suggested Fix
Either:
- Implement a kill ring and ctrl-y for yank (full Emacs compatibility)
- Make ctrl-k copy to system clipboard (partial compatibility, full recoverability)
- Remove ctrl-k until a recovery mechanism is implemented