From f5520f1ac57d89667fc1d0739d1aced9fbb530fc Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sat, 4 Jun 2016 23:31:16 -0400 Subject: [PATCH] Simplify helm config --- core/core-helm.el | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/core/core-helm.el b/core/core-helm.el index 6b8d4aa27..fc4d4574c 100644 --- a/core/core-helm.el +++ b/core/core-helm.el @@ -1,11 +1,8 @@ ;;; core-helm.el (use-package helm - :defer 1 - :commands (helm helm-other-buffer helm-mode) + :commands (helm helm-other-buffer) :init - (defvar helm-global-prompt "››› ") - (defvar helm-projectile-find-file-map (make-sparse-keymap)) (setq helm-quick-update t ;; Speedier without fuzzy matching helm-mode-fuzzy-match nil @@ -25,7 +22,8 @@ helm-move-to-line-cycle-in-source t) :config - (set-keymap-parent helm-projectile-find-file-map helm-map) + (defvar helm-global-prompt "››› ") + (map! :map helm-map "C-S-n" 'helm-next-source "C-S-p" 'helm-previous-source @@ -81,7 +79,10 @@ :commands (helm-projectile-find-other-file helm-projectile-switch-project helm-projectile-find-file - helm-projectile-find-dir)) + helm-projectile-find-dir) + :init + (defvar helm-projectile-find-file-map (make-sparse-keymap)) + (set-keymap-parent helm-projectile-find-file-map helm-map)) (use-package helm-files :commands (helm-browse-project helm-find helm-find-files helm-for-files helm-multi-files helm-recentf)