(use-package popwin
  :init
  (progn
    (setq display-buffer-function 'popwin:display-buffer)
    ;; use popwin with helm
    (push '("^\*helm.+\*$" :regexp t) popwin:special-display-config)
    (push '("^\*helm-.+\*$" :regexp t) popwin:special-display-config)))

(use-package popwin
  :init
  (progn
    (popwin-mode 1)
    (push '("*grep*" :dedicated t :position bottom :stick t :noselect t) popwin:special-display-config)
    ;; use popwin with helm
    (push '("^\*helm.+\*$" :regexp t :position bottom) popwin:special-display-config)
    (push '("^\*helm-.+\*$" :regexp t :position bottom) popwin:special-display-config)))

Add popwin rule for *grep*
Add popwin rule for *grep*

tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs,tsonntag/dotemacs