magit: Update setup of recommended key bindings

This commit is contained in:
Jonas Bernoulli 2024-08-24 20:16:13 +02:00
parent aabbb0eed1
commit 18d301cdea
No known key found for this signature in database
GPG Key ID: 230C2EFBB326D927

View File

@ -146,13 +146,12 @@
(use-package magit
:defer t
:commands (magit-add-section-hook)
:init
;;
;; Key bindings
:bind (("C-c g" . magit-dispatch)
("C-c f" . magit-file-dispatch))
(setq magit-define-global-key-bindings 'recommended)
;;
;; Margin settings
:init
(setq magit-log-margin '(nil age magit-log-margin-width nil 15))
(setq magit-refs-margin-for-tags t)
;;