summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2023-05-12 09:23:12 +0200
committerAlan Pearce2023-05-12 09:23:12 +0200
commit5a0d553fd7554213e198399dd9120477f9a6182d (patch)
tree1c170695820db2e9e00c2e4b91e41997bec76d4e
parented7b5467946283acc91543d9ffda4cd120320a54 (diff)
downloadnixfiles-5a0d553fd7554213e198399dd9120477f9a6182d.tar.lz
nixfiles-5a0d553fd7554213e198399dd9120477f9a6182d.tar.zst
nixfiles-5a0d553fd7554213e198399dd9120477f9a6182d.zip
emacs: set up general.el earlier
-rw-r--r--user/emacs/init.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 855f129e..d91781fc 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -49,6 +49,13 @@
 (use-package crux
   :defer 1)
 
+(use-package general
+  :functions (general-unbind general-define-key)
+  :config (progn
+            (general-override-mode +1)
+            (when (eq system-type 'darwin)
+              (general-unbind "s-x"))))
+
 ;;; Styles
 
 ;; I prefer an always-visible cursor.  Feels less distracting.
@@ -181,13 +188,6 @@ With two prefix arguments, write out the day and month name."
         mac-right-command-modifier 'left
         mac-function-modifier 'hyper))
 
-(use-package general
-  :functions (general-unbind general-define-key)
-  :config (progn
-            (general-override-mode +1)
-            (when (eq system-type 'darwin)
-              (general-unbind "s-x"))))
-
 (use-package avy
   :defer 2
   :config (setq avy-all-windows nil))