From 6e859d4546e1d0ef7093ff5a7ede679bfc7efaa6 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 9 Dec 2018 12:31:43 -0500 Subject: Add separate use-package section for magit-extras magit-extras isn't loaded with magit. --- init.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index 35ee213..9e7157b 100644 --- a/init.el +++ b/init.el @@ -986,9 +986,6 @@ (setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1) - (put 'magit-edit-line-commit 'disabled nil) - (put 'magit-diff-edit-hunk-commit 'disabled nil) - (define-key ctl-x-4-map "g" #'magit-find-file-other-window) (define-key km/file-map "g" #'magit-find-file) @@ -1102,6 +1099,11 @@ (magit-define-popup-action 'magit-log-popup ?W "Log other WIP" 'magit-wip-log)) +(use-package magit-extras + :config + (put 'magit-edit-line-commit 'disabled nil) + (put 'magit-diff-edit-hunk-commit 'disabled nil)) + (use-package km-magit :init (bind-keys :map km/git-map -- cgit v1.2.3