mirror of
https://github.com/emacscollective/emacs.g.git
synced 2025-06-07 08:14:16 -04:00
magit: update margin configuration for v2.9
This commit is contained in:
parent
74402a30b1
commit
c935228a2a
10
init.el
10
init.el
@ -119,6 +119,13 @@
|
|||||||
(use-package magit
|
(use-package magit
|
||||||
:defer t
|
:defer t
|
||||||
:functions (magit-add-section-hook)
|
: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)
|
:bind (("C-x g" . magit-status)
|
||||||
("C-x M-g" . magit-dispatch-popup))
|
("C-x M-g" . magit-dispatch-popup))
|
||||||
:config
|
:config
|
||||||
@ -183,9 +190,6 @@
|
|||||||
;; Diff buffer settings
|
;; Diff buffer settings
|
||||||
(setq magit-diff-refine-hunk 'all)
|
(setq magit-diff-refine-hunk 'all)
|
||||||
;;
|
;;
|
||||||
;; Log buffer settings
|
|
||||||
(setf (cadr magit-log-margin) nil)
|
|
||||||
;;
|
|
||||||
;; Load extensions
|
;; Load extensions
|
||||||
(require 'magit-rockstar)
|
(require 'magit-rockstar)
|
||||||
(require 'magit-wip))
|
(require 'magit-wip))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user