~ivy-posframe now applies to set of functions
Ivy-posframe now only applies to a set of functions through the ivy-display-functions-alist. Some functions just aren't meant to be posframed and are incredibly slow when using posframes, so I don't put those in the list. Those functions in the list are functions that have a negligible change in performance while providing a much better experience via posframe.
This commit is contained in:
@@ -151,8 +151,18 @@ If RETURN-P, return the message as a string instead of displaying it."
|
||||
Set-up config for ivy-posframe, particularly for positions
|
||||
#+BEGIN_SRC elisp
|
||||
(after! ivy-posframe
|
||||
(setq ivy-posframe-display-functions-alist '((t . ivy-posframe-display-at-frame-bottom-window-center))))
|
||||
(setq ivy-posframe-display-functions-alist
|
||||
'((counsel-M-x . ivy-posframe-display-at-frame-bottom-window-center)
|
||||
(counsel-find-file . ivy-posframe-display-at-frame-bottom-window-center)
|
||||
(swiper . ivy-posframe-display-at-frame-bottom-window-center)
|
||||
(swiper-isearch . ivy-posframe-display-at-frame-bottom-window-center)
|
||||
(counsel-projectile-switch-to-buffer . ivy-posframe-display-at-frame-bottom-window-center)
|
||||
(ivy-switch-buffer . ivy-posframe-display-at-frame-bottom-window-center)
|
||||
(counsel-load-theme . ivy-posframe-display-at-frame-bottom-window-center)
|
||||
(oreodave/themes/set-new-theme . ivy-posframe-display-at-frame-bottom-window-center)
|
||||
(counsel-bookmark . ivy-posframe-display-at-frame-bottom-window-center))))
|
||||
#+END_SRC
|
||||
|
||||
* Language Config
|
||||
** C-style languages
|
||||
Emacs doesn't have the full range of styles that I want, so lemme just do it myself.
|
||||
|
||||
Reference in New Issue
Block a user