added stage+commit to 'magit-commit

This commit is contained in:
2023-06-20 12:56:21 +02:00
parent 48e8827d58
commit 4535ba80ce

View File

@@ -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 ()