diff --git a/contrib/colors/config.el b/contrib/colors/config.el index cd0f4c8af..e09fa7687 100644 --- a/contrib/colors/config.el +++ b/contrib/colors/config.el @@ -20,8 +20,7 @@ ;; Command prefixes -(setq colors/key-binding-prefixes '(("C" . "colors"))) (when colors-enable-rainbow-identifiers - (push (cons "Ci" "colors-identifiers") colors/key-binding-prefixes)) -(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x))) - colors/key-binding-prefixes) + (setq colors/key-binding-prefixes '(("Ci" . "colors-identifiers"))) + (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x))) + colors/key-binding-prefixes)) diff --git a/spacemacs/config.el b/spacemacs/config.el index c283ec2bc..46a6699b1 100644 --- a/spacemacs/config.el +++ b/spacemacs/config.el @@ -20,6 +20,7 @@ ("b" . "buffers") ("bm" . "buffers-move") ("c" . "compile/comments") + ("C" . "colors") ("e" . "errors") ("f" . "files") ("fe" . "files-emacs/spacemacs") diff --git a/spacemacs/packages.el b/spacemacs/packages.el index 2b3c39dd9..355d28da7 100644 --- a/spacemacs/packages.el +++ b/spacemacs/packages.el @@ -1315,6 +1315,7 @@ which require an initialization must be listed explicitly in the list.") helm-always-two-windows t) (evil-leader/set-key "bs" 'helm-mini + "Cl" 'helm-colors "sl" 'helm-semantic-or-imenu "hb" 'helm-bookmarks "hl" 'helm-resume @@ -1559,8 +1560,7 @@ which require an initialization must be listed explicitly in the list.") :defer t :init (evil-leader/set-key - "Th" 'helm-themes - "Tc" 'helm-colors))) + "Th" 'helm-themes))) (defun spacemacs/init-hippie-exp () (global-set-key (kbd "M-/") 'hippie-expand) ;; replace dabbrev-expand