diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-10-17 00:59:51 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-10-17 01:00:21 -0400 |
commit | 92d24094a9a20c24d39dfed402a1188a8d043816 (patch) | |
tree | dd670a68a9dde9e999d024bb39e5758ea0d2ba52 /lisp | |
parent | 1773885c6dbf3b1270d5fcf9fb603b40007cac9b (diff) | |
download | emacs.d-92d24094a9a20c24d39dfed402a1188a8d043816.tar.gz |
Create a prefix-map for git-related functions
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-git.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el index 092b064..40ff2a3 100644 --- a/lisp/init-git.el +++ b/lisp/init-git.el @@ -131,4 +131,9 @@ START-POINT set to the current branch. (define-key ctl-x-4-map "g" 'magit-find-file-other-window) (define-key km/file-map "g" 'magit-find-file) +(define-prefix-command 'km/git-map) +(global-set-key (kbd "C-c g") 'km/git-map) + +(define-key km/git-map "u" 'km/magit-auto-commit) + (provide 'init-git) |