From 92d24094a9a20c24d39dfed402a1188a8d043816 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Fri, 17 Oct 2014 00:59:51 -0400 Subject: Create a prefix-map for git-related functions --- lisp/init-git.el | 5 +++++ 1 file changed, 5 insertions(+) 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) -- cgit v1.2.3