From 89e7a9363975172443cfdcd87cc525076d11d64c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 12 Jun 2014 21:55:03 +0100 Subject: Emacs: bind magit-status keys to projectile-vc More general, and won't have to find the .git folder every time as projectile will already know the project root. --- tag-emacs/emacs.d/init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 82b7187d..f7b8d471 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -651,7 +651,9 @@ (req-package projectile :bind (("C-c C-f" . projectile-find-file) - ("s-x s-f" . projectile-find-file)) + ("s-x s-f" . projectile-find-file) + ("C-x g" . projectile-vc) + ("s-G" . projectile-vc)) :init (projectile-global-mode) :diminish projectile-mode :config (progn @@ -670,8 +672,6 @@ (req-package magit :diminish magit-auto-revert-mode :commands (magit-status) - :bind (("C-x g" . magit-status) - ("s-G" . magit-status)) :init (add-hook 'magit-mode-hook #'magit-load-config-extensions)) ;;;; Spelling -- cgit 1.4.1