summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2019-12-22 20:53:07 -0500
committerKyle Meyer <kyle@kyleam.com>2020-04-16 23:54:15 -0400
commit2182dc3d75eb475d0521270559cc7ec8c108fd5f (patch)
tree1972d48de1e9f92219c4d76fb5ff8cf83fdeb25f
parent94583c74c435bfa1f0815f3025c5e6beab66638d (diff)
downloademacs.d-2182dc3d75eb475d0521270559cc7ec8c108fd5f.tar.gz
magit: Update "jump to remote counts" binding for upstream change
The jumping functionality is contained in a transient as of 655950f4 (magit-status-jump: New command, 2019-12-18).
-rw-r--r--init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/init.el b/init.el
index 2376092..e68ab8a 100644
--- a/init.el
+++ b/init.el
@@ -1111,8 +1111,6 @@
(define-key magit-log-select-mode-map "."
#'km/magit-log-select-guess-fixup-commit)
- (define-key magit-status-mode-map "jr" #'magit-jump-to-remote-counts)
-
(define-key magit-refs-mode-map (kbd "C-c C-t") #'km/magit-refs-toggle-tags)
(define-key magit-file-section-map [remap magit-visit-thing]
@@ -1150,6 +1148,9 @@
magit-status-sections-hook))
(list #'km/magit-insert-remote-counts)))
+ (transient-append-suffix 'magit-status-jump "s"
+ '("r" "Remote counts" magit-jump-to-remote-counts))
+
(transient-append-suffix 'magit-commit "c"
'("u" "Auto commit" km/magit-update-or-auto-commit))