shift modifiers don't work in terminal multiplexers with a similar non-shift modifier key binding #13881
Unanswered
ifiokjr
asked this question in
Troubleshooting
Replies: 1 comment 2 replies
-
To recognize C-J you need to use a terminal with the Kitty keyboard protocol enabled, like Ghostty. That protocol emits escape codes for keys which can otherwise be ambiguous. For another example C-h is equivalent to backspace. I'm pretty sure that tmux doesn't support the Kitty keyboard protocol. I know that Zellij has some support for it but not all of the parts of the protocol that we use. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
With the following code in my
config.toml
I have two similar commandsC-j
andC-J
. In a normal terminal, these work fine. However, when I use a terminal multiplexer liketmux
orzellij
only theC-j
is recognised.In
normal
mode insidezellij
ortmux
I don't have access toC-J
orC-K
which copy the current line / selection down or up. These key mappings work in the bare terminal (I use ghostty).Reproduction Steps
Before all these steps: install
zellij
ortmux
then activate in the terminal. Add these keybindings to the helixconfig.toml
.hx
C-J
which should copy the current line above.I expected this to happen:
The line should be copied above in a terminal multiplexer environment.
Instead, this happened:
It ignores the
<shift>
modifier and acts like you've pressedC-j
.Helix log
No response
Platform
macOS
Terminal Emulator
ghostty
Installation Method
brew
Helix Version
25.01.1
Beta Was this translation helpful? Give feedback.
All reactions