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
|
||||
(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
|
||||
|
|
Loading…
Reference in a new issue