Replies: 2 comments
-
I'm running into precisely the same problem. Tried these mappings (looked at https://sw.kovidgoyal.net/kitty/keyboard-protocol to figure out the right encoding): { key = 'LeftArrow', mods = 'CTRL', action = act.SendString '\x1b\x5b1;5D' },
{ key = 'RightArrow', mods = 'CTRL', action = act.SendString '\x1b\x5b1;5C' }, Used the |
Beta Was this translation helpful? Give feedback.
-
If you can tolerate using SHFT+CTRL instead of just CTRL (easy enough for me, since I map capslock to control I can roll my pinky over both the shift and control keys), this works: { key = 'LeftArrow', mods = 'SHIFT|CTRL', action = act.SendString '\x1b\x5b1;5D' },
{ key = 'RightArrow', mods = 'SHIFT|CTRL', action = act.SendString '\x1b\x5b1;5C' }, But then you'll sacrifice the ability to send SHIFT+CTRL modifiers with the left/right arrow keys. You could make a different sacrifice by using Another problem comes to light though, as
Using Perhaps wezterm could use a way to override the key release code as part of an extended |
Beta Was this translation helpful? Give feedback.
-
Hi folks, new WezTerm user here, -
I'm using LazyVim, which has the following default mappings for resizing windows in NeoVim:
However, unlike their Ctrl+Up/Down counterparts, they don't appear to work inside WezTerm. When I completely disable the default WezTerm bindings using
config.disable_default_key_bindings = true
, they start working again, which suggests this is indeed an issue with WezTerm defaults, and not something else.When I view the relevant mappings
they don't seem to include Ctrl+Left/RightArrow explicitly. However, I've tried disabling all of these nevertheless, using
I then see this:
so as you can see, most of them got disabled. However, this doesn't seem to help the issue.
Additionally, when I run
wezterm --config debug_key_events=true
, Ctrl+Up/DownArrow events do get logged, but Ctrl+Left/RightArrow don't, as if they're not detected by WezTerm at all.One other thing I've noticed is WezTerm's menu has
Window -> Select Tab -> Activate the tab to the right
assigned to^->
by default - even though I cannot find that binding among the default bindings, as you can see above. When I disable it as above though, this assignment disappears, but that doesn't help the issue.All of this is on macOS Ventura 13.4.1, if that matters.
Thanks in advance for any help!
EDIT: I've looked at other issues prior to posting this, but only now found one that seems relevant: #3508
Beta Was this translation helpful? Give feedback.
All reactions