I started using the Kitty terminal because it’s the trendy thing to do, and OpenCode and nvim seem to work better with it.
I also use ssh and tmux on a remote computer, and also use vim or nvim in both places. So I have a 4 layered windowing system: Regolith, kitty, tmux, vim.

This was getting confusing, so I asked Thaura to design keybindings to work across all four windowing systems, to let me control each layerp.
https://thaura.ai/?share=2a0eebfa-fdd3-47c0-b084-6ba0fb962500
I haven’t implemented this, yet. I can’t tell if it’s BSing me with a bunch of bogus answers.
Kitty Keyboard Protocol
I don’t keep up on this stuff, but this is so fascinating. Kitty and some programs implement a new protocol for keyboards and terminals:
https://github.com/kovidgoyal/kitty/blob/master/docs/keyboard-protocol.rst