parent
ebe4c60264
commit
b0f77612e3
1 changed files with 4 additions and 7 deletions
|
@ -59,9 +59,7 @@
|
||||||
|
|
||||||
(defun helm/init-helm ()
|
(defun helm/init-helm ()
|
||||||
(use-package helm
|
(use-package helm
|
||||||
:defer 1
|
:defer t
|
||||||
:commands (spacemacs/helm-find-files
|
|
||||||
helm-current-directory)
|
|
||||||
:init
|
:init
|
||||||
(progn
|
(progn
|
||||||
(add-hook 'helm-cleanup-hook #'spacemacs//helm-cleanup)
|
(add-hook 'helm-cleanup-hook #'spacemacs//helm-cleanup)
|
||||||
|
@ -121,10 +119,11 @@
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(unless (configuration-layer/package-used-p 'smex)
|
(unless (configuration-layer/package-used-p 'smex)
|
||||||
(spacemacs/set-leader-keys
|
(spacemacs/set-leader-keys
|
||||||
dotspacemacs-emacs-command-key 'helm-M-x)))))
|
dotspacemacs-emacs-command-key 'helm-M-x))))
|
||||||
|
(helm-mode))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(helm-mode)
|
(spacemacs|hide-lighter helm-mode)
|
||||||
(advice-add 'helm-grep-save-results-1 :after 'spacemacs//gne-init-helm-grep)
|
(advice-add 'helm-grep-save-results-1 :after 'spacemacs//gne-init-helm-grep)
|
||||||
;; helm-locate uses es (from everything on windows which doesnt like fuzzy)
|
;; helm-locate uses es (from everything on windows which doesnt like fuzzy)
|
||||||
(helm-locate-set-command)
|
(helm-locate-set-command)
|
||||||
|
@ -140,8 +139,6 @@
|
||||||
(define-key helm-bookmark-map (kbd "C-/") 'helm-bookmark-help))
|
(define-key helm-bookmark-map (kbd "C-/") 'helm-bookmark-help))
|
||||||
(with-eval-after-load 'helm-bookmark
|
(with-eval-after-load 'helm-bookmark
|
||||||
(simpler-helm-bookmark-keybindings))
|
(simpler-helm-bookmark-keybindings))
|
||||||
(with-eval-after-load 'helm-mode ; required
|
|
||||||
(spacemacs|hide-lighter helm-mode))
|
|
||||||
(define-key helm-buffer-map (kbd "RET") 'spacemacs/helm-find-buffers-windows)
|
(define-key helm-buffer-map (kbd "RET") 'spacemacs/helm-find-buffers-windows)
|
||||||
(define-key helm-generic-files-map (kbd "RET") 'spacemacs/helm-find-files-windows)
|
(define-key helm-generic-files-map (kbd "RET") 'spacemacs/helm-find-files-windows)
|
||||||
(define-key helm-find-files-map (kbd "RET") 'spacemacs/helm-find-files-windows))))
|
(define-key helm-find-files-map (kbd "RET") 'spacemacs/helm-find-files-windows))))
|
||||||
|
|
Reference in a new issue