-
How to remap the keybinds of a transient state? I use Colemak keyboard layout and I have been wanting to edit the very QWERTY-biased shortcuts of various transient states like Since I couldn't find any documentation on remapping them I also tried making my own custom layer that implements a transient layer in a fashion that built-in layers of Spacemacs define; the idea was that I would replace the biased transient with my own. The relevant documentation at https://develop.spacemacs.org/doc/LAYERS.html speaks of some "Spacemacs' layer search path" but I can't find a semblance of documentation about it. I'm too clueless as a beginner to be welcomed to these documentation pages I guess. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can remove and add/remap bindings to existing transient states in your (spacemacs/transient-state-register-remove-bindings 'layouts
'("w"))
(spacemacs/transient-state-register-add-bindings 'layouts
'(("k" spacemacs/workspaces-transient-state/body :exit t))) For private layers: Spacemacs looks for them in the directories specified by the variable By the way, are you using the keyboard-layout layer? Perhaps this layer could be extended to automatically remap some of those transient state bindings, too. |
Beta Was this translation helpful? Give feedback.
You can remove and add/remap bindings to existing transient states in your
dotspacemacs/user-config
with the functionsspacemacs/transient-state-register-remove-bindings
andspacemacs/transient-state-register-add-bindings
. For example, in my configuration I used to have:For private layers: Spacemacs looks for them in the directories specified by the variable
configuration-layer-private-layer-directory
and the user optiondotspacemacs-configuration-layer-path
. You can use SPC SPC configuration…