ivy-posframe allows the Ivy completion framework for Emacs to use a posframe popup frame for its candidate menu.

I learned of ivy-posframe from this reddit post. The part of this I was interested in was the ability to move the default candidate menu's location.

The above screenshot shows the menu in the top-center spot. I kind of like it there. Notice also that I added a bit of fringe on the left and right. My config looks like this...

``````(require 'posframe)
(require 'ivy-posframe)
(setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-top-center)))
(setq ivy-posframe-parameters
'((left-fringe . 8)
(right-fringe . 8)))
(ivy-posframe-mode 1)``````