Create prefixes before actually loading the layers
This commit is contained in:
parent
9e9ce528be
commit
732cc1d4de
|
@ -1,3 +1,7 @@
|
|||
;; ---------------------------------------------------------------------------
|
||||
;; Prefixes
|
||||
;; ---------------------------------------------------------------------------
|
||||
|
||||
(setq spacemacs/key-binding-prefixes '(("a" . "applications")
|
||||
("as" . "applications-shells")
|
||||
("b" . "buffers")
|
||||
|
@ -31,6 +35,9 @@
|
|||
("xt" . "text-transpose")
|
||||
("xw" . "text-words")
|
||||
("z" . "z")))
|
||||
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
|
||||
spacemacs/key-binding-prefixes)
|
||||
|
||||
;; ---------------------------------------------------------------------------
|
||||
;; Navigation
|
||||
;; ---------------------------------------------------------------------------
|
||||
|
|
|
@ -675,9 +675,6 @@ determine the state to enable when escaping from the insert state.")
|
|||
(setq evil-leader/in-all-states t
|
||||
evil-leader/leader dotspacemacs-leader-key
|
||||
evil-leader/non-normal-prefix "s-")
|
||||
;; give name to spacemacs prefixes
|
||||
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
|
||||
spacemacs/key-binding-prefixes)
|
||||
(global-evil-leader-mode))
|
||||
:config
|
||||
(progn
|
||||
|
|
Loading…
Reference in a new issue