Skip to content

Instantly share code, notes, and snippets.

@linktohack
Created August 3, 2015 08:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linktohack/ce0695f2f43bf7e360a8 to your computer and use it in GitHub Desktop.
Save linktohack/ce0695f2f43bf7e360a8 to your computer and use it in GitHub Desktop.
Helm in Popwin
(setq popwin:special-display-config
(append '(("^\*helm .+\*$" :regexp t :position right :width 60)
("^\*helm-.+\*$" :regexp t :position right :width 60))
popwin:special-display-config))
(add-hook 'helm-after-initialize-hook (lambda ()
(popwin:display-buffer helm-buffer t)
(popwin-mode -1)))
(add-hook 'helm-cleanup-hook (lambda () (popwin-mode 1)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment