summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-12-26 12:15:30 -0500
committerKyle Meyer <kyle@kyleam.com>2015-12-26 12:15:30 -0500
commite02ebf3edf70830c6ca067f6908ef4181bcfc2bd (patch)
tree35a4c973e07add8fc8335777cfbb0ba6310929fe
parent73f1564255f45993896c9671bd887e28fbe158ea (diff)
downloademacs.d-e02ebf3edf70830c6ca067f6908ef4181bcfc2bd.tar.gz
magit: Swap push and submodule popup keys
-rw-r--r--lisp/init-git.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index d607c07..5f4b773 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -555,6 +555,8 @@ show tags by default."
;; Remove `magit-add-change-log-entry-other-window', which overrides
;; my binding for `km/zsh-ansi-term-other-window'.
(define-key magit-mode-map (kbd "C-x 4 a") nil)
+(define-key magit-mode-map "o" 'magit-push-popup)
+(define-key magit-mode-map "P" 'magit-submodule-popup)
(define-key magit-mode-map "Q" 'km/magit-mode-bury-all-windows)
(define-key magit-mode-map (kbd "C-w") 'km/magit-copy-as-kill)