summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/init.el b/init.el
index 9d94c06..6896744 100644
--- a/init.el
+++ b/init.el
@@ -137,6 +137,12 @@ then FUNCTION-NAME will be defined as DEF after loading."
(load-config "embark-conf.el")
+;;; magit
+
+(load-after-function magit "magit-conf.el" "Load magit and launch it." nil
+ (defalias 'magit 'magit-status)
+ (magit))
+
;;; Don't let s-q quit as I oft press that by accident.
(define-key global-map (vector ?\s-q) #'window-toggle-side-windows)