aboutsummaryrefslogtreecommitdiff
path: root/.emacs.local.d/modes/magit.el
blob: e1ca63ff53b3c1a6139c2a5976afe44f5125b268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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