aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/magit.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.local.d/modes/magit.el')
-rw-r--r--.emacs.local.d/modes/magit.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/.emacs.local.d/modes/magit.el b/.emacs.local.d/modes/magit.el
new file mode 100644
index 0000000..e1ca63f
--- /dev/null
+++ b/.emacs.local.d/modes/magit.el
@@ -0,0 +1,15 @@
+;; Debian packages: elpa-magit elpa-magithub
+
+(use-package magit
+ :ensure t
+ :defer t
+ :bind (("C-x g" . magit-status))
+ :config
+ (progn
+ (defun inkel/magit-log-edit-mode-hook ()
+ (flyspell-mode t)
+ (turn-on-auto-fill))
+ (defadvice magit-status (around magit-fullscreen activate)
+ (window-configuration-to-register :magit-fullscreen)
+ ad-do-it
+ (delete-other-windows))))
nihil fit ex nihilo