From 24286ef2efb6f3e10f6f1bf77d4197cf57d6c16f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 14 May 2016 16:34:52 -0400 Subject: [PATCH] fix custom projetile binds --- dotfiles/emacs.d/init.el | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 85b67c76..de526459 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -1916,9 +1916,6 @@ window is active in the perspective." (use-package projectile :demand t :bind (("C-x f" . projectile-find-file-in-known-projects) - ("C-c p f" . imalison:projectile-find-file) - :map projectile-command-map - ("C-c p s" . imalison:do-ag) ("C-c p f" . imalison:projectile-find-file)) :preface (progn @@ -1951,12 +1948,8 @@ window is active in the perspective." (add-to-list 'projectile-globally-ignored-files "thrift-binaries") (helm-projectile-on) (diminish 'projectile-mode) - (unbind-key "C-c p S" projectile-command-map) - (unbind-key "C-c p s a" projectile-command-map) - (unbind-key "C-c p s g" projectile-command-map) - (unbind-key "C-c p s s" projectile-command-map) - (unbind-key "C-c p s" projectile-command-map) - (unbind-key "C-c p f" projectile-command-map))) + (bind-key* "C-c p s" 'imalison:do-ag) + (bind-key* "C-c p f" 'imalison:projectile-find-file))) (use-package smex ;; Using helm-M-x instead