about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/fonts.el
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/.emacs.d/wpc/fonts.el')
-rw-r--r--configs/shared/.emacs.d/wpc/fonts.el9
1 files changed, 6 insertions, 3 deletions
diff --git a/configs/shared/.emacs.d/wpc/fonts.el b/configs/shared/.emacs.d/wpc/fonts.el
index cc8b15c10c7e..30459c940a73 100644
--- a/configs/shared/.emacs.d/wpc/fonts.el
+++ b/configs/shared/.emacs.d/wpc/fonts.el
@@ -18,6 +18,7 @@
 (require 'cycle)
 (require 'device)
 (require 'maybe)
+(require 'general)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Constants
@@ -138,9 +139,11 @@ The size of the font is determined by `fonts/size'."
 
 (when fonts/keybindings?
   (progn
-    (evil-leader/set-key
-      "Ff" #'fonts/next
-      "Pf" #'fonts/prev)
+    (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)