From 284c8327c95bb0c71b111ebf95723a35a478295c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 23 Jun 2019 11:43:30 -0700 Subject: Add emacs config --- .emacs.local.d/modes/magit.el | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .emacs.local.d/modes/magit.el (limited to '.emacs.local.d/modes/magit.el') 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)))) -- cgit v1.2.3