From 4535ba80ce570cb6fb14d951c260ef86b6207272 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 20 Jun 2023 12:56:21 +0200 Subject: [PATCH] added stage+commit to 'magit-commit --- lisp/init-magit.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/init-magit.el b/lisp/init-magit.el index 906b3a5..f83fbda 100644 --- a/lisp/init-magit.el +++ b/lisp/init-magit.el @@ -96,6 +96,9 @@ (transient-append-suffix 'magit-file-dispatch "s" '("C" "Stage+Commit" tvd-stage-and-commit-current-buffer)) + (transient-append-suffix 'magit-commit "c" + '("i" "Stage+Commit" tvd-stage-and-commit-current-buffer)) + ;; after an exhausting discussion on magit#3139 I use this function ;; to (kind of) switch to another repository from inside magit-status. (defun tvd-switch-magit-repo ()