Simplifies popwin configuration

This commit is contained in:
William Carroll 2017-07-29 21:52:04 -04:00
parent ee62bf5836
commit f65a0c7bbf

View file

@ -531,16 +531,11 @@
;; Popwin Settings
(use-package popwin
:ensure t)
(add-hook 'helm-minibuffer-set-up-hook #'*-popwin-help-mode-off)
(add-hook 'helm-cleanup-hook #'*-popwin-help-mode-on)
:ensure t
:config
(setq display-buffer-function 'popwin:display-buffer)
(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