Simplifies popwin configuration
This commit is contained in:
parent
ee62bf5836
commit
f65a0c7bbf
1 changed files with 5 additions and 10 deletions
|
@ -531,16 +531,11 @@
|
||||||
|
|
||||||
;; Popwin Settings
|
;; Popwin Settings
|
||||||
(use-package popwin
|
(use-package popwin
|
||||||
:ensure t)
|
:ensure t
|
||||||
|
:config
|
||||||
|
|
||||||
(add-hook 'helm-minibuffer-set-up-hook #'*-popwin-help-mode-off)
|
|
||||||
(add-hook 'helm-cleanup-hook #'*-popwin-help-mode-on)
|
|
||||||
|
|
||||||
(setq display-buffer-function 'popwin:display-buffer)
|
(setq display-buffer-function 'popwin:display-buffer)
|
||||||
(setq helm-split-window-preferred-function 'ignore)
|
(setq helm-split-window-preferred-function 'ignore)
|
||||||
(push '("^\*helm .+\*$" :regexp t) popwin:special-display-config)
|
(push '("^\*helm-.+\*$" :regexp t) popwin:special-display-config))
|
||||||
(push '("^\*helm-.+\*$" :regexp t) popwin:special-display-config)
|
|
||||||
|
|
||||||
|
|
||||||
;; Alchemist Settings
|
;; Alchemist Settings
|
||||||
|
|
Loading…
Reference in a new issue