Magit configuration

This commit is contained in:
Wojciech Kozlowski 2017-08-27 17:24:19 +01:00
parent fd47888e9c
commit 307c6fcacf

View File

@ -29,8 +29,20 @@
;; --------------------------------------------------------------------------
;; Load and configure `magit'.
;; --------------------------------------------------------------------------
(use-package magit
:defer t)
:defer t
:bind
("C-x g h" . magit-log-head)
("C-x g f" . magit-log-buffer-file)
("C-x g b" . magit-blame)
("C-x g m" . magit-show-refs-popup)
("C-x g c" . magit-branch-and-checkout)
("C-x g s" . magit-status)
("C-x g r" . magit-reflog)
("C-x g t" . magit-tag)
:config
(add-hook 'magit-mode-hook 'magit-load-config-extensions))
;; --------------------------------------------------------------------------
;; Diff mode settings.