Lazy-load helm

This commit is contained in:
Henrik Lissner 2015-08-07 10:50:24 +02:00
parent 3c9f160c16
commit a416b7acd3
2 changed files with 8 additions and 4 deletions

View File

@ -1,6 +1,12 @@
;;; core-helm.el ;;; core-helm.el
(use-package helm (use-package helm
:commands (helm
helm-etags-select
helm-show-kill-ring
helm-bookmarks
helm-alive-p
helm-attrset)
:init :init
(defvar helm-global-prompt ">>> ") (defvar helm-global-prompt ">>> ")
(setq helm-quick-update t (setq helm-quick-update t
@ -120,10 +126,7 @@
helm-projectile-find-file helm-projectile-find-file
helm-projectile-recentf helm-projectile-recentf
helm-projectile-find-other-file helm-projectile-find-other-file
helm-projectile-switch-project) helm-projectile-switch-project))
:config
(require 'helm)
(require 'projectile))
;; (use-package helm-c-yasnippet :commands helm-yas-visit-snippet-file) ;; (use-package helm-c-yasnippet :commands helm-yas-visit-snippet-file)
(use-package helm-semantic :commands helm-semantic-or-imenu) (use-package helm-semantic :commands helm-semantic-or-imenu)

View File

@ -7,6 +7,7 @@
;;;###autoload ;;;###autoload
(defun narf:helm-wg () (defun narf:helm-wg ()
(interactive) (interactive)
(require 'helm)
(helm :sources '(narf/helm-source-wg))) (helm :sources '(narf/helm-source-wg)))
;;;###autoload ;;;###autoload