Refactor helm setup; init helm-files on boot
This commit is contained in:
parent
23bad5d529
commit
fd432cd7c5
1 changed files with 6 additions and 8 deletions
|
@ -23,6 +23,7 @@
|
||||||
helm-split-window-preferred-function 'narf/helm-split-window)
|
helm-split-window-preferred-function 'narf/helm-split-window)
|
||||||
:config
|
:config
|
||||||
(evil-set-initial-state 'helm-mode 'emacs)
|
(evil-set-initial-state 'helm-mode 'emacs)
|
||||||
|
(require 'helm-files)
|
||||||
|
|
||||||
;; Rewrite prompt for all helm windows
|
;; Rewrite prompt for all helm windows
|
||||||
(defun helm (&rest plist)
|
(defun helm (&rest plist)
|
||||||
|
@ -62,8 +63,8 @@
|
||||||
"*Helm Swoop*"))
|
"*Helm Swoop*"))
|
||||||
(push bufname winner-boring-buffers)))
|
(push bufname winner-boring-buffers)))
|
||||||
|
|
||||||
(bind! (:map (helm-map helm-generic-files-map helm-find-files-map)
|
(bind! (:map (helm-map helm-generic-files-map helm-find-files-map helm-swoop-map helm-projectile-find-file-map)
|
||||||
"C-w" 'evil-delete-backward-word
|
"C-w" 'backward-kill-word
|
||||||
"C-r" 'evil-ex-paste-from-register ; Evil registers in helm! Glorious!
|
"C-r" 'evil-ex-paste-from-register ; Evil registers in helm! Glorious!
|
||||||
[escape] 'helm-keyboard-quit)
|
[escape] 'helm-keyboard-quit)
|
||||||
(:map helm-find-files-map
|
(:map helm-find-files-map
|
||||||
|
@ -172,11 +173,6 @@
|
||||||
helm-org-agenda-files-headings
|
helm-org-agenda-files-headings
|
||||||
helm-org-capture-templates))
|
helm-org-capture-templates))
|
||||||
|
|
||||||
(use-package helm-files
|
|
||||||
:commands (helm-recentf
|
|
||||||
helm-buffers
|
|
||||||
helm-buffers-list))
|
|
||||||
|
|
||||||
(use-package helm-css-scss ; https://github.com/ShingoFukuyama/helm-css-scss
|
(use-package helm-css-scss ; https://github.com/ShingoFukuyama/helm-css-scss
|
||||||
:commands (helm-css-scss
|
:commands (helm-css-scss
|
||||||
helm-css-scss-multi
|
helm-css-scss-multi
|
||||||
|
@ -191,7 +187,9 @@
|
||||||
:config
|
:config
|
||||||
(setq helm-swoop-use-line-number-face t
|
(setq helm-swoop-use-line-number-face t
|
||||||
helm-swoop-split-with-multiple-windows t
|
helm-swoop-split-with-multiple-windows t
|
||||||
helm-swoop-speed-or-color t))
|
helm-swoop-candidate-number-limit 200
|
||||||
|
helm-swoop-speed-or-color t
|
||||||
|
helm-swoop-pre-input-function (lambda () "")))
|
||||||
|
|
||||||
;; (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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue