summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-10-06 23:38:03 -0400
committerKyle Meyer <kyle@kyleam.com>2015-10-06 23:38:03 -0400
commit7c97ed0658254fb82c42ceb1442dc192d7107142 (patch)
tree648540e36b919fcc521bbccbde6935e8855e4c65 /lisp
parent5ac194f6c49dc4c4a6f2510ae37bad7c002a2b33 (diff)
downloademacs.d-7c97ed0658254fb82c42ceb1442dc192d7107142.tar.gz
git-map: Add binding for magit-staged-file
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 3f6eff3..9102563 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -548,11 +548,12 @@ show tags by default."
(define-key km/git-map "d" 'magit-dispatch-popup)
(define-key km/git-map "e" 'km/magit-commit-extend-with-file)
(define-key km/git-map "f" 'km/magit-reset-file)
+(define-key km/git-map "i" 'km/magit-insert-staged-file)
(define-key km/git-map "n" 'km/magit-shorten-hash-at-point)
(define-key km/git-map "l" 'magit-log-buffer-file)
(define-key km/git-map "p" 'km/magit-pin-file)
(define-key km/git-map "r" 'km/magit-find-recently-changed-file)
-(define-key km/git-map "s" 'km/magit-insert-staged-file)
+(define-key km/git-map "s" 'magit-stage-file)
(define-key km/git-map "u" 'km/magit-auto-commit)
(define-key km/git-map "v" 'km/magit-revfile-reset)