 ;; Packages
 ;;
 
+(def-package! helm-mode
+  :hook (doom-init . helm-mode)
+  :config
+  ;; helm is too heavy for find-file-at-point
+  (add-to-list 'helm-completing-read-handlers-alist '(find-file-at-point . nil)))
+
+
 (def-package! helm
+  :after helm-mode
   :init
   (setq helm-quick-update t
         ;; Speedier without fuzzy matching

        helm-move-to-line-cycle-in-source t)

  :config
  (add-hook 'doom-init-hook #'helm-mode)

  (defvar helm-projectile-find-file-map (make-sparse-keymap))
  (require 'helm-projectile)
  (set-keymap-parent helm-projectile-find-file-map helm-map)

  ;; helm is too heavy for find-file-at-point
  (after! helm-mode
    (add-to-list 'helm-completing-read-handlers-alist '(find-file-at-point . nil)))

  (setq projectile-completion-system 'helm)

  ;;; Helm hacks
  (defun +helm*replace-prompt (plist)

        helm-css-scss-split-with-multiple-windows t))


(def-package! helm-for-files
  :commands (helm-for-files helm-recentf helm-multi-files))


(def-package! helm-swoop ; https://github.com/ShingoFukuyama/helm-swoop
  :commands (helm-swoop helm-multi-swoop helm-multi-swoop-all)
  :config
