From 41d312fea040db6dcd550690dce86db25e57ed88 Mon Sep 17 00:00:00 2001 From: "Tu, Do" Date: Wed, 8 Oct 2014 22:39:20 +0700 Subject: [PATCH] Leaner Helm config and enable Helm version of Projectile commands --- modules/prelude-helm-everywhere.el | 3 +++ modules/prelude-helm.el | 11 +---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/modules/prelude-helm-everywhere.el b/modules/prelude-helm-everywhere.el index ef186f8..2e2f96c 100644 --- a/modules/prelude-helm-everywhere.el +++ b/modules/prelude-helm-everywhere.el @@ -61,5 +61,8 @@ (helm-descbinds-mode) (helm-mode 1) +;; enable Helm version of Projectile with replacment commands +(helm-projectile-on) + (provide 'prelude-helm-everywhere) ;; prelude-helm-everywhere.el ends here. diff --git a/modules/prelude-helm.el b/modules/prelude-helm.el index 8a45985..b981f61 100644 --- a/modules/prelude-helm.el +++ b/modules/prelude-helm.el @@ -35,17 +35,8 @@ (prelude-require-packages '(helm helm-projectile)) -(require 'helm) -(require 'helm-grep) -(require 'helm-files) - -;; The default "C-x c" is quite close to "C-x C-c", which quits Emacs. -;; Note: this must be placed before require `helm-config'. If `helm-projectile' is -;; available, it must also be set before `helm-projectile', since `helm-projectile' -;; loads `helm-config' -(setq helm-command-prefix-key "C-c h") - (require 'helm-config) +(require 'helm-grep) (require 'helm-projectile) (when (executable-find "curl")