aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/rul-lisp/packages/rul-vc.el
blob: c57e95012cf6a82d2c587a3e9c6207097da9efb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
(use-package magit
  :ensure t
  :bind
  (("C-c g s" . magit-status)
   ("C-c g b" . magit-blame))
  :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))))

(add-to-list 'project-switch-commands '(magit-project-status "Magit" "m"))

(provide 'rul-vc)
nihil fit ex nihilo