about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/wpc/google-stuff.el
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/.emacs.d/wpc/google-stuff.el')
-rw-r--r--configs/shared/.emacs.d/wpc/google-stuff.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/configs/shared/.emacs.d/wpc/google-stuff.el b/configs/shared/.emacs.d/wpc/google-stuff.el
index f2632f7880e5..96c80565965a 100644
--- a/configs/shared/.emacs.d/wpc/google-stuff.el
+++ b/configs/shared/.emacs.d/wpc/google-stuff.el
@@ -28,10 +28,10 @@
 
 (require 'f)
 (require 'ivy-helpers)
-(require 'evil-leader)
 (require 'maybe)
 (require 'device)
 (require 'macros)
+(require 'general)
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Library
@@ -204,9 +204,12 @@ When on a corporate laptop, remote connections are made using Tramp."
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
 (when google-stuff/install-kbds?
-  (evil-leader/set-key "Gs" #'fig-status)
-  (evil-leader/set-key "Cs" #'google-stuff/open-buffer-in-cs)
-  (evil-leader/set-key "jc" #'google-stuff/jump-to-citc-alias))
+  (general-define-key
+   :prefix "<SPC>"
+   :states '(normal)
+   "Gs" #'fig-status
+   "Cs" #'google-stuff/open-buffer-in-cs
+   "jc" #'google-stuff/jump-to-citc-alias))
 
 (provide 'google-stuff)
 ;;; google-stuff.el ends here