Remove KBD installations from more Elisp modules
I originally liked this pattern, but now I'd prefer to put everything in keybindings.el.
This commit is contained in:
parent
d1ee517461
commit
ea274f924a
2 changed files with 0 additions and 33 deletions
|
|
@ -19,17 +19,9 @@
|
|||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(require 'cycle)
|
||||
(require 'general)
|
||||
(require '>)
|
||||
(require 'cl-macs)
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Constants
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
(defcustom colorscheme-install-kbds? t
|
||||
"If non-nil, enable the keybindings.")
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Library
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
|
@ -90,13 +82,5 @@ Cycle prev otherwise."
|
|||
(interactive)
|
||||
(colorscheme-cycle :forward? nil))
|
||||
|
||||
;; Keybindings
|
||||
(when colorscheme-install-kbds?
|
||||
(general-define-key
|
||||
:prefix "<SPC>"
|
||||
:states '(normal)
|
||||
"Ft" #'colorscheme-next
|
||||
"Pt" #'colorscheme-prev))
|
||||
|
||||
(provide 'colorscheme)
|
||||
;;; colorscheme.el ends here
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue