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 (use-package magit
:defer t :defer t
:commands (magit-add-section-hook) :commands (magit-add-section-hook)
:init
;; ;;
;; Key bindings ;; Key bindings
:bind (("C-c g" . magit-dispatch) (setq magit-define-global-key-bindings 'recommended)
("C-c f" . magit-file-dispatch))
;; ;;
;; Margin settings ;; Margin settings
:init
(setq magit-log-margin '(nil age magit-log-margin-width nil 15)) (setq magit-log-margin '(nil age magit-log-margin-width nil 15))
(setq magit-refs-margin-for-tags t) (setq magit-refs-margin-for-tags t)
;; ;;