Use use-package :idle property for helm loading

This commit is contained in:
syl20bnr 2014-10-24 16:07:45 -04:00
parent e454b45711
commit a06015776a

View file

@ -1239,14 +1239,10 @@ of 2 characters. If INSERT? is not nil then the first key pressed is inserted
(defun spacemacs/init-helm ()
(use-package helm
:defer t
:init
:idle (helm-mode 1)
:idle-priority 0
:config
(progn
(add-to-hooks 'helm-mode '(erlang-mode-hook
markdown-mode-hook
org-mode-hook
prog-mode-hook
))
(evil-leader/set-key
":" 'helm-M-x
"bs" 'helm-mini