about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/wpc/fonts.el16
1 files changed, 0 insertions, 16 deletions
diff --git a/emacs/.emacs.d/wpc/fonts.el b/emacs/.emacs.d/wpc/fonts.el
index ec196d507806..bf22a2ecc226 100644
--- a/emacs/.emacs.d/wpc/fonts.el
+++ b/emacs/.emacs.d/wpc/fonts.el
@@ -18,7 +18,6 @@
 (require 'cycle)
 (require 'device)
 (require 'maybe)
-(require 'general)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Constants
@@ -34,9 +33,6 @@
     ('work-desktop "8"))
   "My preferred default font-size, which is device specific.")
 
-(defconst fonts/keybindings? t
-  "Install the keybindings when non-nil.")
-
 (defconst fonts/size-step 10
   "The amount (%) by which to increase or decrease a font.")
 
@@ -137,17 +133,5 @@ The size of the font is determined by `fonts/size'."
   (interactive)
   (fonts/whitelist-set (fonts/current)))
 
-(when fonts/keybindings?
-  (progn
-    (general-define-key
-     :prefix "<SPC>"
-     :states '(normal)
-     "Ff" #'fonts/next
-     "Pf" #'fonts/prev)
-    (general-define-key "s-9" #'fonts/ivy-select)
-    (general-define-key "s-0" #'fonts/reset-size)
-    (general-define-key "s-j" #'fonts/decrease-size)
-    (general-define-key "s-k" #'fonts/increase-size)))
-
 (provide 'fonts)
 ;;; fonts.el ends here