warp icon indicating copy to clipboard operation
warp copied to clipboard

Allow passing custom hexcode/unicode on keystroke. I cannot go to end of line with Cmd+Left/Right in micro terminal editor

Open Shreeyak opened this issue 8 months ago • 2 comments

Pre-submit Checks

Describe the solution you'd like?

Allow binding a shortcut to a custom Hexcode that is passed to the terminal to allow editors to accept keyboard shortcuts that match my preferences. Example, Cmd+Left/Right can be bound to a code in my editor, micro. Allow this binding to go through regardless of terminal mode.

This solves a pain specific to application mode, such as when using the micro editor.

Is your feature request related to a problem? Please describe.

I'm using the micro editor, because I do not like modal editors such as Helix or Neovim. Cmd+Left/Right is bound to End/EndofLine/LineEnd in the warp shortcuts. But this does not work in application mode when the micro text editor is open.

Testing the commands inside micro, the raw mode shows me that Cmd+Left/Right get detected as only Left/Right. Cmd+Shift+Left/right only gets detected as Shift+Left/Right. Testing the commands by running cat, Cmd+Left/Right get detected as Ctrl+E/A . So this is a problem specific to when I'm using an application such as micro.

Additional context

No response

Operating system (OS)

macOS

How important is this feature to you?

4

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

Shreeyak avatar Mar 29 '26 14:03 Shreeyak

It would be great to see this feature in Warp! Despite the added support of Kitty Keyboard Protocol (KKP), I still can't get the standard macOS keybinding working (Cmd+Left, Cmd+Right) in OpenTUI on Warp. If this feature is implemented, this will close the gap.

Related issue: https://github.com/warpdotdev/Warp/issues/2037#issuecomment-3869698129

romanwozniak avatar Apr 16 '26 03:04 romanwozniak

+1 — adding the broader context to #807 (which is ready-to-implement) since the same root cause blocks Cmd+Backspace and Cmd+Z / Cmd+Shift+Z (undo/redo) for opencode/Claude Code TUI users on Warp, beyond just Cmd+Left/Right.

Either solution discussed in this issue — custom hex code action OR completing super modifier KKP encoding — would unblock all of these macOS-standard editing keys at once.

psh4607 avatar Apr 29 '26 12:04 psh4607