   :config
   (evil-set-initial-state 'helm-mode 'emacs)
 
-  (add-popwin-rule! "\\`\\*helm.*?\\*\\'" :regexp t :position bottom :height 15)
+  (add-popwin-rule! "^\\*[Hh]elm.*?\\*\\'" :regexp t :position bottom :height 15)
   (add-unreal-buffer! "^\\*[Hh]elm.*\\*$")
   (after! winner
     ;; Tell winner-mode to ignore helm buffers

                       "*helm imenu*"
                       "*helm company*"
                       "*helm buffers*"
                       ;; "*helm tags*"
                       "*helm-ag*"
                       "*Helm Swoop*"))
      (push bufname winner-boring-buffers)))

  (bind! :map helm-map
         "C-w"        'evil-delete-backward-word

         "C-r"        'evil-ex-paste-from-register ; Evil registers in helm! Glorious!
         [escape]     'helm-keyboard-quit)

  ;; Hide mode-line in helm windows
  (advice-add 'helm-display-mode-line :override 'narf*helm-hide-modeline))

(use-package helm-ag
