summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-01-13 13:01:34 +0800
committerJSDurand <mmemmew@gmail.com>2021-01-13 13:01:34 +0800
commit3666deaed5b0baf0a74f14db5872105c9e7865f9 (patch)
tree3535c3f57ed9d5b1cd4e3e81831f627840b6e81b /init.el
parent1700588e1a3cfb5fa45fb64393c68782bc35fc38 (diff)
A temporary intermeidate step
Now I got almost every functionality that we need, including pdf, mu4e, magit, et cetera.
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)