summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el8
1 files 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