[bug/question] keybinds conflict with Windows Terminal
k4lizen opened this issue · comments
Namely, the Windows Terminal uses alt+arrows to switch between panes, and glazewm uses alt+arrows to switch between windows. Is there an intended/recommended resolution for this keybind conflict?
i think you can us windows powertoys to change keybind. it is usefull!
I've remvoed the arrow keys from the bindings and use the hjkl bindings instead
You can change the following section https://github.com/glzr-io/GlazeWM/blob/main/GlazeWM.App/Resources/sample-config.yaml#L127-L136
Into
keybindings:
# Shift focus in a given direction.
- command: "focus left"
bindings: ["Alt+H"]
- command: "focus right"
bindings: ["Alt+L"]
- command: "focus up"
bindings: ["Alt+K"]
- command: "focus down"
bindings: ["Alt+J"]
If you are windows powertoys there will be more conflicts
alt+space
(focus floating/tiling mode VS powertoys run) I've changed that into alt+z
And for sementics i changed alt+shift+space
(toggle floating/tiling mode) into alt+shift+z
Thanks for the answer! It does seem like a relatively good compromise, though one which doesn't work for me as hlkj is very unintuitive on colemak-dh
You can ofcourse rebind those commands to your liking (except for the arrow keys :) ).
If you rarely use multiple panes in WT you can also rebind the move focus pane commands in WT.