Replies: 4 comments 2 replies
-
please try: {
key = "A",
mods = "SHIFT|ALT|CTRL|SUPER",
action = act.DisableDefaultAssignment,
}, |
Beta Was this translation helpful? Give feedback.
-
I'd suggest running through https://wezfurlong.org/wezterm/troubleshooting.html#debugging-keyboard-related-issues so you can see what inputs are being sent to wezterm, and what key assignments exist in wezterm |
Beta Was this translation helpful? Give feedback.
-
Hi, I was wondering if anyone has found a solution within Wezterm yet? I have a similar situation on
I've got a shortcut to launch my browser that's triggered by
and my keys configured in config are:
I've tried variations with |
Beta Was this translation helpful? Give feedback.
-
Hi there! I was able to make it work with Hyper key with the following config: config.use_ime=false
config.keys = {
{
key = "A",
mods = "SHIFT|ALT|CTRL|CMD",
action = wezterm.action.DisableDefaultAssignment,
},
} Hope it helps! |
Beta Was this translation helpful? Give feedback.
-
What Operating System(s) are you running on?
macOS
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
wezterm 20240108-182319-1c090195
Ask your question!
I have recently purchased a split keyboard that runs on the QMK firmware. Within this firmware, there is a key called the "Hyper" which simulates pressing LCTL+LSFT+LALT+CMD and is extremely handy when creating bindings to avoid conflicts.
I came across a useful video recently which outlines how to utilize the automation application build into macOS to launch/switch between different applications. I use the Hyper key to create my shortcuts for this automation functionality. When pressing Hyper+A macOS will either launch my Arc browser if it is not open or switch to the already open instance if I am in another application. Basically it is a substitute for CMD+Tab for application switching. This functionality works fine in other Terminal emulators I have tried like iTerm and the default Terminal application when they are in focus. I can use Hyper+A in iTerm and it will switch to my browser instance, but not in WezTerm. I have a feeling the terminal is actually capturing the keypresses and the OS is not receiving them. I have tried disabling this combination within my config but this doesn't seem to be working. I was hoping someone could help me out/point me in the right direction on how to solve this. I have attached my config below so you can get a complete idea:
The last mapping within the keybinding() function is where I try to address the issue. The keyboard layout I use is also attached if you are curious:
Beta Was this translation helpful? Give feedback.
All reactions