Reconfigure helm
* Consistant window-splitting for helm-css-scss * Fix popwin and unreal rules
This commit is contained in:
parent
8d586b3547
commit
2269e67e5a
1 changed files with 13 additions and 8 deletions
|
@ -16,7 +16,7 @@
|
||||||
:config
|
:config
|
||||||
(evil-set-initial-state 'helm-mode 'emacs)
|
(evil-set-initial-state 'helm-mode 'emacs)
|
||||||
|
|
||||||
(add-popwin-rule! "\\`\\*helm.*?\\*\\'" :regexp t :position bottom :height 15)
|
(add-popwin-rule! "^\\*[Hh]elm.*?\\*\\'" :regexp t :position bottom :height 15)
|
||||||
(add-unreal-buffer! "^\\*[Hh]elm.*\\*$")
|
(add-unreal-buffer! "^\\*[Hh]elm.*\\*$")
|
||||||
(after! winner
|
(after! winner
|
||||||
;; Tell winner-mode to ignore helm buffers
|
;; Tell winner-mode to ignore helm buffers
|
||||||
|
@ -25,10 +25,11 @@
|
||||||
"*helm imenu*"
|
"*helm imenu*"
|
||||||
"*helm company*"
|
"*helm company*"
|
||||||
"*helm buffers*"
|
"*helm buffers*"
|
||||||
;; "*helm tags*"
|
"*helm "
|
||||||
|
"*Helm Css SCSS*"
|
||||||
"*helm-ag*"
|
"*helm-ag*"
|
||||||
"*Helm Swoop*"))
|
"*Helm Swoop*"))
|
||||||
(push bufname winner-boring-buffers)))
|
(push bufname narf-ignore-buffers)))
|
||||||
|
|
||||||
(bind! :map helm-map
|
(bind! :map helm-map
|
||||||
"C-w" 'evil-delete-backward-word
|
"C-w" 'evil-delete-backward-word
|
||||||
|
@ -36,6 +37,7 @@
|
||||||
"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)
|
||||||
|
|
||||||
|
;; Hide mode-line in helm windows
|
||||||
(advice-add 'helm-display-mode-line :override 'narf*helm-hide-modeline))
|
(advice-add 'helm-display-mode-line :override 'narf*helm-hide-modeline))
|
||||||
|
|
||||||
(use-package helm-ag
|
(use-package helm-ag
|
||||||
|
@ -71,7 +73,10 @@
|
||||||
(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
|
||||||
helm-css-scss-insert-close-comment))
|
helm-css-scss-insert-close-comment)
|
||||||
|
:config
|
||||||
|
(setq helm-css-scss-split-direction 'split-window-vertically
|
||||||
|
helm-css-scss-split-with-multiple-windows t))
|
||||||
|
|
||||||
(use-package helm-swoop ; https://github.com/ShingoFukuyama/helm-swoop
|
(use-package helm-swoop ; https://github.com/ShingoFukuyama/helm-swoop
|
||||||
:defines (helm-swoop-last-prefix-number)
|
:defines (helm-swoop-last-prefix-number)
|
||||||
|
@ -121,10 +126,10 @@
|
||||||
(require 'projectile))
|
(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)
|
||||||
(use-package helm-elisp :commands helm-apropos)
|
(use-package helm-elisp :commands helm-apropos)
|
||||||
(use-package helm-command :commands helm-M-x)
|
(use-package helm-command :commands helm-M-x)
|
||||||
(use-package helm-company :defer t)
|
(use-package helm-company :defer t)
|
||||||
|
|
||||||
(provide 'core-helm)
|
(provide 'core-helm)
|
||||||
;;; core-helm.el ends here
|
;;; core-helm.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue