all repos — nixfiles @ 5a0d553fd7554213e198399dd9120477f9a6182d

System and user configuration, managed by nix and home-manager

emacs: set up general.el earlier
Alan Pearce alan@alanpearce.eu
Fri, 12 May 2023 09:23:12 +0200
commit

5a0d553fd7554213e198399dd9120477f9a6182d

parent

ed7b5467946283acc91543d9ffda4cd120320a54

1 files changed, 7 insertions(+), 7 deletions(-)

jump to
M user/emacs/init.eluser/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.
@@ -180,13 +187,6 @@ mac-right-control-modifier 'left         mac-command-modifier 'super
         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