Skip to content

Edit Keybinds of a Transient State #16675

Answered by fnussbaum
eeriemyxi asked this question in Q&A
Discussion options

You must be logged in to vote

You can remove and add/remap bindings to existing transient states in your dotspacemacs/user-config with the functions spacemacs/transient-state-register-remove-bindings and spacemacs/transient-state-register-add-bindings. For example, in my configuration I used to have:

  (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 configuration-layer-private-layer-directory and the user option dotspacemacs-configuration-layer-path. You can use SPC SPC configuration…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@eeriemyxi
Comment options

@fnussbaum
Comment options

Answer selected by fnussbaum
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants