summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-07-23 22:14:04 -0400
committerKyle Meyer <kyle@kyleam.com>2014-07-23 22:14:04 -0400
commitd75ec995395baad15edd799a5d42d0dbc42cc698 (patch)
treee09060a98583a8c4676812d01234351ae6b22954 /lisp
parent26fcddabfb247166aca0db15febb0e1019da5daa (diff)
downloademacs.d-d75ec995395baad15edd799a5d42d0dbc42cc698.tar.gz
Add binding for magit-find-file
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index b44a1bc..8ea78e3 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -63,6 +63,8 @@ Useful for non-source code repos (e.g., Org mode note files)."
(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)
+ (define-key magit-mode-map (kbd "C-c m") 'km/magit-prefix-map)
+
(magit-define-popup-action 'magit-commit-popup
?u "Auto commit" 'km/magit-auto-commit)
(magit-define-popup-action 'magit-push-popup
@@ -76,4 +78,8 @@ Useful for non-source code repos (e.g., Org mode note files)."
(define-key ctl-x-4-map "g" 'magit-find-file-other-window)
+(define-prefix-command 'km/magit-prefix-map)
+(define-key km/magit-prefix-map "f" 'magit-find-file)
+
+
(provide 'init-git)