-
Notifications
You must be signed in to change notification settings - Fork 1
[v0.3] Replace cut slot with a real kill ring #47
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestfactory-readyClear, focused, unblocked work an agent may implementClear, focused, unblocked work an agent may implementgood first issueGood for newcomersGood for newcomersquick winSmall, self-contained taskSmall, self-contained task
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestfactory-readyClear, focused, unblocked work an agent may implementClear, focused, unblocked work an agent may implementgood first issueGood for newcomersGood for newcomersquick winSmall, self-contained taskSmall, self-contained task
Goal: Replace the current single cut/yank slot with a small Emacs-shaped kill ring.
Context: Cortex already has mark, region cut,
C-k, andC-yin the local editor surface.The PRD calls for a real ring with yank-pop behavior.
This is core editing feel, not a broad feature expansion.
Proposed approach:
C-yyanking the most recent entry.M-yonly immediately after a yank.Acceptance criteria:
C-yinserts the newest kill at point.M-yafterC-yreplaces the just-yanked text with the previous ring entry.M-ywithout a preceding yank reports a clear no-op status.Verification:
cargo test.Out of scope: