Feature Request: Minimal Line Editor Commands

Resolved 💬 4 comments Opened Sep 15, 2025 by jtele2 Closed Jan 14, 2026

What feature would you like to see?

I’d like to propose adding a minimal set of line editor commands to the codec CLI, similar to what Claude Code provides. I realize that some of these, but not all of them, are implemented already.

In my view, a basic but usable editing experience should include movement, deletion, undo, and a handful of history and yank commands. Below is the minimal set I’d suggest (though this is open to debate).

---

Movement
  • C-b → move back one character
  • C-f → move forward one character
  • M-b → move back one word
  • M-f → move forward one word
  • C-a → move to beginning of line
  • C-e → move to end of line
Killing / Deleting
  • C-d → delete character under cursor
  • DEL → delete character before cursor
  • M-d → kill word forward
  • M-DEL → kill word backward
  • C-k → kill to end of line
  • C-u → kill to beginning of line
Yanking
  • C-y → yank (paste last killed text)
  • M-y → cycle kill ring (after C-y)
History
  • C-p → previous command
  • C-n → next command
  • C-r → reverse incremental search
  • C-s → forward incremental search
Editing / Misc
  • C-t → transpose characters
  • M-t → transpose words
  • M-u → uppercase word
  • M-l → lowercase word
  • M-c → capitalize word
  • C-_ → undo
  • C-l → clear screen

Are you interested in implementing this feature?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗