Simplify helm config
This commit is contained in:
parent
35fe39a4a7
commit
f5520f1ac5
1 changed files with 7 additions and 6 deletions
|
@ -1,11 +1,8 @@
|
||||||
;;; core-helm.el
|
;;; core-helm.el
|
||||||
|
|
||||||
(use-package helm
|
(use-package helm
|
||||||
:defer 1
|
:commands (helm helm-other-buffer)
|
||||||
:commands (helm helm-other-buffer helm-mode)
|
|
||||||
:init
|
:init
|
||||||
(defvar helm-global-prompt "››› ")
|
|
||||||
(defvar helm-projectile-find-file-map (make-sparse-keymap))
|
|
||||||
(setq helm-quick-update t
|
(setq helm-quick-update t
|
||||||
;; Speedier without fuzzy matching
|
;; Speedier without fuzzy matching
|
||||||
helm-mode-fuzzy-match nil
|
helm-mode-fuzzy-match nil
|
||||||
|
@ -25,7 +22,8 @@
|
||||||
helm-move-to-line-cycle-in-source t)
|
helm-move-to-line-cycle-in-source t)
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(set-keymap-parent helm-projectile-find-file-map helm-map)
|
(defvar helm-global-prompt "››› ")
|
||||||
|
|
||||||
(map! :map helm-map
|
(map! :map helm-map
|
||||||
"C-S-n" 'helm-next-source
|
"C-S-n" 'helm-next-source
|
||||||
"C-S-p" 'helm-previous-source
|
"C-S-p" 'helm-previous-source
|
||||||
|
@ -81,7 +79,10 @@
|
||||||
:commands (helm-projectile-find-other-file
|
:commands (helm-projectile-find-other-file
|
||||||
helm-projectile-switch-project
|
helm-projectile-switch-project
|
||||||
helm-projectile-find-file
|
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
|
(use-package helm-files
|
||||||
:commands (helm-browse-project helm-find helm-find-files helm-for-files helm-multi-files helm-recentf)
|
:commands (helm-browse-project helm-find helm-find-files helm-for-files helm-multi-files helm-recentf)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue