From fa5b8bdefb952b904524a5a6743a64f1134e3208 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 12 Aug 2022 21:50:17 +0100 Subject: (Emacs)+ivy posframe Last time I used this thing was 3 years ago (5c72c72) in Doom. This configuration is largely similar to that, but without whatever magic doom did for the 'childframe' module. --- Emacs/.config/emacs/config.org | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 2b9c7a2..9ac563a 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -587,6 +587,21 @@ helpful counterparts. (t . ivy--regex-ignore-order))) (counsel-mode)) #+end_src +**** Ivy posframe +This makes ivy minibuffer windows use child frames. Very nice eyecandy. +#+begin_src emacs-lisp +(use-package ivy-posframe + :hook (ivy-mode-hook . ivy-posframe-mode) + :straight t + :init + (setq ivy-posframe-parameters + '((left-fringe . 0) + (right-fringe . 0) + (background-color . "grey7"))) + + (setq ivy-posframe-display-functions-alist + '((t . ivy-posframe-display-at-window-center)))) +#+end_src **** Counsel etags :PROPERTIES: :header-args:emacs-lisp: :tangle no -- cgit v1.2.3-13-gbd6f