magit: update margin configuration for v2.9

This commit is contained in:
Jonas Bernoulli 2016-12-08 00:34:35 +01:00
parent 74402a30b1
commit c935228a2a

10
init.el
View File

@ -119,6 +119,13 @@
(use-package magit
:defer t
:functions (magit-add-section-hook)
:init
;;
;; Margin settings
(setq magit-log-margin '(nil age magit-log-margin-width nil 15))
(setq magit-refs-margin-for-tags t)
;;
;; Key bindings
:bind (("C-x g" . magit-status)
("C-x M-g" . magit-dispatch-popup))
:config
@ -183,9 +190,6 @@
;; Diff buffer settings
(setq magit-diff-refine-hunk 'all)
;;
;; Log buffer settings
(setf (cadr magit-log-margin) nil)
;;
;; Load extensions
(require 'magit-rockstar)
(require 'magit-wip))