2015-01-14 04:12:56 +00:00
|
|
|
;;; config.el --- Colors Layer configuration File for Spacemacs
|
|
|
|
;;
|
|
|
|
;; Copyright (c) 2012-2014 Sylvain Benner
|
|
|
|
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
|
|
|
|
;;
|
|
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
2014-12-18 05:12:04 +00:00
|
|
|
;; ---------------------------------------------------------------------------
|
|
|
|
;; Prefixes
|
|
|
|
;; ---------------------------------------------------------------------------
|
|
|
|
|
2015-01-26 04:40:07 +00:00
|
|
|
;; Variables
|
|
|
|
|
|
|
|
(defvar colors-enable-rainbow-identifiers nil
|
2015-02-01 06:31:39 +00:00
|
|
|
"if non nil the `rainbow-identifers' package is enabled.")
|
|
|
|
|
2015-02-02 02:29:07 +00:00
|
|
|
(defvar colors-enable-nyan-cat-progress-bar nil
|
2015-02-01 06:31:39 +00:00
|
|
|
"if non nil all nyan cat packges are enabled (for now only `nyan-mode').")
|
2015-01-26 04:40:07 +00:00
|
|
|
|
|
|
|
;; Command prefixes
|
|
|
|
|
2015-01-27 05:29:31 +00:00
|
|
|
(setq colors/key-binding-prefixes '(("C" . "colors")))
|
2015-01-26 04:40:07 +00:00
|
|
|
(when colors-enable-rainbow-identifiers
|
|
|
|
(push (cons "Ci" "colors-identifiers") colors/key-binding-prefixes))
|
2014-12-18 05:12:04 +00:00
|
|
|
(mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
|
2015-01-26 04:40:07 +00:00
|
|
|
colors/key-binding-prefixes)
|