Feature Request: Support for Shell-Style / Emacs-Inspired Keybindings in Message Input

Resolved 💬 6 comments Opened Aug 1, 2025 by roychri Closed Jan 11, 2026

Would love to see support for standard shell/emacs-style keybindings in the message input box (similar to what’s available in terminals and Bash). Right now, using keystrokes like Esc+C (aka Meta+C) to uppercase the first letter of a word—or other shortcuts like Meta+B to jump back a word, Meta+D to delete the next word—either do nothing or trigger unrelated UI behaviors (e.g., Esc clearing the input altogether, which is especially frustrating).

This behavior breaks muscle memory for anyone used to working in terminal or Emacs-style editing environments. Supporting these common bindings would make the text entry experience much smoother, especially when editing long prompts or code snippets.

Some examples of what would be nice to support:

  • Meta+C – Capitalize word
  • Meta+U – Uppercase word
  • Meta+L – Lowercase word
  • Meta+B / Meta+F – Move by word
  • Meta+D – Delete word forward
  • Meta+Backspace – Delete word backward
  • Ctrl+A/E/K/Y – Beginning/end of line, kill line, yank, etc.

At the very least, it’d be helpful to be able to disable the Esc → clear behavior or remap it.

Thanks for considering this!

View original on GitHub ↗

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