You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support modifyOtherKeys and/or Kitty's keyboard protocol #2037
While Warp is truly innovative in the terminal space I've unfortunately found it unusable due to it's lackluster support of keyboard escape sequences. I'm using dte as my main editor and unfortunately it fail to recognise most keypress combinations (e.g., C-<arrow key>, M-<arrow key>, C-S-M-<arrow key>, C-enter, C-S-enter to name a few) in Warp while it does so fine in iTerm2, wezterm, Kitty and others.
Reacted by Igor Rogatty, Stephane Kiss, Cronos87, Carlos Parada, tsmith165, Art Shendrik, Okan YILDIRIM, Felipe Plets, Anmol Hurkat and Robert Komaromi
Enabling shortcuts such as cmd S to save a file in vim could be a game changer for terminal usage. Things don't have to be cryptic and unfamiliar to be powerful. It just has to be a movement where terminal emulators support these features in a good way and promote it. There are some questions about potential conflicts between the emulator app and the shell command but I think those could be solved in different clever ways.
Enabling shortcuts such as cmd S to save a file in vim could be a game changer for terminal usage. Things don't have to be cryptic and unfamiliar to be powerful. It just has to be a movement where terminal emulators support these features in a good way and promote it. There are some questions about potential conflicts between the emulator app and the shell command but I think those could be solved in different clever ways.
I came here after spending hours and hours of time trying to find how to get the following keybindings to work in Warp terminal on macOS with opencode:
Shift + Enter – new line
Cmd + Left/Right – move to the beginning/end of line
Cmd + Shift + Left/Right – select text to the beginning/end of line
I had some limited success using 3rd party solution like Karabiner-Elements, but it didn't cover all the scenarios either, which forced me to give Ghostty a try (which is a blast and works as expected). Since Warp and Ghostty are two different products with different philosophies, I currently use both for different use cases, but this is less than ideal too.
I would appreciate it if Warp team would post an update on providing support for Kitty keyboard protocol or, otherwise, guide me on how to use Warp to support keybindings specified above.
Reacted by Art Shendrik, Graham Taylor and Okan YILDIRIM
in my ~/.zshrc is necessary to make Opt-Left and Opt-Right work in Warp->tmux. But this doesn't enable Shift+Enter or Cmd+Left/Right.
I have also tried:
set -s extended-keys always
set -s extended-keys-format csi-u
Hi all, thanks for your patience. The latest version of Warp (v0.2026.02.04.08.20.stable_02) now has support for the Kitty keyboard protocol. I'm going to close this out but please file an issue if you see any bugs. Thanks!
Reacted by Art Shendrik, Felipe Plets and optimal prime
Hi @alokedesai, thanks for working on this. Does the support of Kitty keyboard protocol in Warp come with support for the super key modifier? I can't get it working in opencode/claude code, e.g.
Hey all, the latest version of Warp now has support for the Kitty keyboard protocol. Thanks for your patience here and let me know if you see any issues!
Activity
elviskahoro commentedon Nov 18, 2022
@hovsater Thanks for the thorough issue. Will circle back here when we have made progress!
hovsater commentedon Dec 14, 2022
@elviskahoro thank you. Appreciate it. 🙏
skiss9 commentedon Oct 16, 2024
Enabling shortcuts such as cmd S to save a file in vim could be a game changer for terminal usage. Things don't have to be cryptic and unfamiliar to be powerful. It just has to be a movement where terminal emulators support these features in a good way and promote it. There are some questions about potential conflicts between the emulator app and the shell command but I think those could be solved in different clever ways.
ParadaCarleton commentedon May 28, 2025
May I introduce you to micro? :)
ereid7 commentedon Dec 29, 2025
This issue is important to me. I need to be able to use shift+enter in opencode in warp.
anomalyco/opencode#1505
Torrey-Smith-165 commentedon Dec 30, 2025
I'm with @ereid7 and about to switch off warp if this doesn't get fixed in the next couple of days.
romanwozniak commentedon Jan 6, 2026
I came here after spending hours and hours of time trying to find how to get the following keybindings to work in Warp terminal on macOS with opencode:
I had some limited success using 3rd party solution like Karabiner-Elements, but it didn't cover all the scenarios either, which forced me to give Ghostty a try (which is a blast and works as expected). Since Warp and Ghostty are two different products with different philosophies, I currently use both for different use cases, but this is less than ideal too.
I would appreciate it if Warp team would post an update on providing support for Kitty keyboard protocol or, otherwise, guide me on how to use Warp to support keybindings specified above.
gwtaylor commentedon Jan 16, 2026
I want to echo what @romanwozniak just said (and exactly those same key combos) but with a slightly different use case!
These key combinations work great in Warp driving Claude Code directly:
and I have built muscle memory!
But lately I am experimenting with slightly different workflows than Warp -> Claude Code, such as:
where these no longer work.
A similar investigation has let me here and believe strongly that addressing the OP's request would unlock these workflows.
Footnotes
I do have
set-window-option -g xterm-keys onin my~/.tmux.conf, which, along with:bindkey "^[[1;3D" backward-word
bindkey "^[[1;3C" forward-word
in my
~/.zshrcis necessary to make Opt-Left and Opt-Right work in Warp->tmux. But this doesn't enable Shift+Enter or Cmd+Left/Right.I have also tried:
set -s extended-keys always
set -s extended-keys-format csi-u
in
~/.tmux.confto no avail. ↩felipeplets commentedon Jan 21, 2026
Same here. As I use Warp and have been implementing https://github.com/felipeplets/rooms/ as a
git worktreemanager I ended up facing the same issues.Using rooms inside warp is a huge friction since the PTY won't receive these keys with modifiers (i.e.: shift+enter).
alokedesai commentedon Feb 6, 2026
Hi all, thanks for your patience. The latest version of Warp (
v0.2026.02.04.08.20.stable_02) now has support for the Kitty keyboard protocol. I'm going to close this out but please file an issue if you see any bugs. Thanks!prime-optimal commentedon Feb 9, 2026
I updated and am running v0.2026.02.04.08.20.stable_03 and there doesn't seem to be any change because it still doesn't work.
opencode.json is set to: "input_newline": "shift+return,ctrl+return,alt+return,ctrl+j",
i even set shift+return to insert new line in warp's settings but that didn't help either (though it does insert a new line inside warp)
romanwozniak commentedon Feb 9, 2026
Hi @alokedesai, thanks for working on this. Does the support of Kitty keyboard protocol in Warp come with support for the
superkey modifier? I can't get it working inopencode/claude code, e.g.alokedesai commentedon Feb 9, 2026
Hi folks, unfortunately we had to rollback Kitty keyboard protocol has it broke some core neovim flows.
I'll ping back here as soon as we have a rollforward. Sorry for the issues here!
alokedesai commentedon Mar 9, 2026
Hey all, kitty keyboard protocol support is rolled forward on our Preview build: https://warp.dev/download-preview
It should be out in our Stable build this week assuming there are no issues.
alokedesai commentedon Mar 20, 2026
Hey all, the latest version of Warp now has support for the Kitty keyboard protocol. Thanks for your patience here and let me know if you see any issues!