Best way to create custom keybindings #1008
-
I am trying to figure out what is the best way to setup custom keybindings. I tried to look for documentation in various places but did not find anything addressing the errors I am getting so I am trying out here. Context
Based on this I created
Upon reloading the configuration, I get the following errors:
Based on this, I saw a duplicate setting in
Commenting out the above lines makes the errors go away. QuestionsSo my question are:
Any general guidance on how to do it cleanly will be much appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The how to customize a default partial docs suggest...
I've done a bit of this myself since a recent upgrade to 3.1, and have found this pattern to work pretty well. I got into a habit of first searching ❯ grep -r Tab /usr/share/regolith
/usr/share/regolith/common/config.d/30_navigation:## Navigate // Next Workspace // <> Tab ##
/usr/share/regolith/common/config.d/30_navigation:set_from_resource $wm.binding.ws_next wm.binding.ws_next Tab
/usr/share/regolith/common/config.d/30_navigation:## Navigate // Next Workspace on Output // <><Ctrl> Tab ##
/usr/share/regolith/common/config.d/30_navigation:set_from_resource $wm.binding.ws_next_on_output wm.binding.ws_next_on_output Ctrl+Tab
/usr/share/regolith/common/config.d/30_navigation:## Navigate // Previous Workspace // <><Shift> Tab ##
/usr/share/regolith/common/config.d/30_navigation:set_from_resource $wm.binding.ws_prev wm.binding.ws_prev Shift+Tab
/usr/share/regolith/common/config.d/30_navigation:## Navigate // Previous Workspace on Output // <><Ctrl><Shift> Tab ##
/usr/share/regolith/common/config.d/30_navigation:set_from_resource $wm.binding.ws_prev_on_output wm.binding.ws_prev_on_output Ctrl+Shift+Tab ❯ dpkg -S 30_navigation
regolith-wm-navigation: /usr/share/regolith/common/config.d/30_navigation |
Beta Was this translation helpful? Give feedback.
The how to customize a default partial docs suggest...
mkdir -p ~/.config/regolith3/common-wm/config.d
/usr/share/regolith/common/config.d/30_navigation
to~/.config/regolith3/common-wm/config.d/30_navigation
sudo apt remove regolith-wm-navigation
I've done a bit of this myself since a recent upgrade to 3.1, and have found this pattern to work pretty well. I got into a habit of first searching
/usr/share/regolith
for a given keybinding to find where the default was d…