From e3e88163a01d3b603b249a35a094148d5f5ed05c Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Mon, 16 Nov 2015 10:09:09 -0800 Subject: [PATCH] Rebind projectile find file to helm's version and setup helm-projectile --- dotfiles/emacs.d/init.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 480ea06..0832aec 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -82,6 +82,9 @@ (helm-mode t) (helm-adaptive-mode t) ;; Sort results by most frequently used +(require 'helm-projectile) +(helm-projectile-on) + ;; Use ag instead of grep for in-file searches in helm-find-file (when (executable-find "ag") @@ -141,6 +144,9 @@ (global-set-key (kbd "C-m") nil) (global-set-key (kbd "RET") nil) +;; Unbind C-c p f from projectile +(global-set-key (kbd "C-c p f") nil) + ;; Neotree binds are prefixed by C-t (global-set-key (kbd "C-t t") 'neotree-toggle) @@ -173,6 +179,7 @@ ;; Helm +(global-set-key (kbd "C-c p f") 'helm-projectile-find-file) (global-set-key (kbd "C-x C-f") 'helm-find-files) ;;-------------------------------------------------------------------------------------