aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-init.d/magit.el
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2023-07-20 07:53:35 -0700
committerRaúl Benencia <id@rbenencia.name>2023-07-22 10:45:18 -0700
commit5860445da55ac3abc3935c6ffd5e9bb4539225c9 (patch)
tree2de3124b4c0577245a0b7e1dec30732af7fcc191 /.emacs.d/rul-init.d/magit.el
parentfd0754be08f4b2f9ef58625c17544a238afefade (diff)
emacs: move everything to ~/.emacs.d
Diffstat (limited to '.emacs.d/rul-init.d/magit.el')
-rw-r--r--.emacs.d/rul-init.d/magit.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/.emacs.d/rul-init.d/magit.el b/.emacs.d/rul-init.d/magit.el
new file mode 100644
index 0000000..cd52e67
--- /dev/null
+++ b/.emacs.d/rul-init.d/magit.el
@@ -0,0 +1,15 @@
+;; Debian packages: elpa-magit
+
+(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