summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-01-04 21:19:19 -0500
committerKyle Meyer <kyle@kyleam.com>2015-01-04 21:19:19 -0500
commit26ba343ba4e8c485d617c6b5b87ff13317197d45 (patch)
treeae7f3204ce5d92c71fff8fad62c77701436d56c3
parent34e795e0e0e3917022a26670ce5ec7898abec515 (diff)
downloademacs.d-26ba343ba4e8c485d617c6b5b87ff13317197d45.tar.gz
Bind ace-jump to 'j' in magit-{refs,log}-mode-map
-rw-r--r--lisp/init-git.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 861d839..3400375 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -186,6 +186,9 @@ the commit buffer. And no dinging."
(define-key magit-file-section-map (kbd "C-j") 'magit-diff-visit-file-worktree)
(define-key magit-hunk-section-map (kbd "C-j") 'magit-diff-visit-file-worktree)
+ (define-key magit-log-mode-map "j" 'ace-jump-mode)
+ (define-key magit-refs-mode-map "j" 'ace-jump-mode)
+
(magit-define-popup-action 'magit-commit-popup
?u "Auto commit" 'km/magit-auto-commit)
(magit-define-popup-action 'magit-push-popup