summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-05-08 21:33:45 -0400
committerKyle Meyer <kyle@kyleam.com>2014-05-08 21:33:45 -0400
commitcc2357b6e9908f94999e140b132df14abdc67ece (patch)
tree5beb1765ea94e970ed4504fe12e495b406607f91
parent161bc33ffdd0c4177cf39fb3c508f8b71c32b649 (diff)
downloademacs.d-cc2357b6e9908f94999e140b132df14abdc67ece.tar.gz
Space bindings for Magit switches and options
https://github.com/magit/magit/pull/788/files
-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 f46d340..8023a3c 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -13,6 +13,9 @@
(key-chord-define-global ",g" 'magit-status)
+(define-key magit-popup-mode-map (kbd "SPC <t>") 'magit-invoke-popup-switch)
+(define-key magit-popup-mode-map (kbd "SPC SPC <t>") 'magit-invoke-popup-option)
+
(defun km/magit-auto-commit ()
"Commit all changes with \"auto\" commit message.
Useful for non-source code repos (e.g., Org mode note files)."