            (minibuffer-keyboard-quit))))
   (ivy-mode +1)
 
-  (use-package ivy-posframe
-    :ensure t
-    :config
-    (setq ivy-display-function #'ivy-posframe-display-at-frame-center)
-    (ivy-posframe-enable)))
+  ;; Unsure about this one.
+  ;; (use-package ivy-posframe
+  ;;   :ensure t
+  ;;   :config
+  ;;   (setq ivy-display-function #'ivy-posframe-display-at-frame-center)
+  ;;   (ivy-posframe-enable))
+  )
 
 ;; Displays yasnippet previous inline when cycling through results.
 (use-package ivy-yasnippet

         :map counsel-ag-map
         ("C-c C-e" . ar/ivy-occur)
         :map wgrep-mode-map
         ("C-c C-c" . ar/wgrep-finish-edit))
  :init
  ;; `ar/ivy-occur',`ar/counsel-ag', and `ar/wgrep-finish-edit' replicate a more
  ;; streamlined result-editing workflow I was used to in helm-ag.
  (defun ar/ivy-occur ()
    (interactive)
    (if (not (window-minibuffer-p))
        (user-error "No completion session is active")
      (let* ((caller (ivy-state-caller ivy-last))

          (setq-local ivy--directory ivy--directory)
          (ivy-wgrep-change-to-wgrep-mode))
        (ivy-exit-with-action
         (lambda (_)
           (pop-to-buffer buffer)
           (delete-other-windows))))))

  (defun ar/counsel-ag (arg)
    (interactive "P")
