aboutsummaryrefslogtreecommitdiff
path: root/doom.d
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-02-08 13:45:55 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-02-09 12:30:53 +0000
commit5c72c72a0955bfffc6bdf5350fd0ad1da7cc5164 (patch)
tree91543a51e53bd8a9da2d64080057e6b68429822f /doom.d
parent47a8b53d837749ec7bd870d002f93111f34b606d (diff)
downloaddotfiles-5c72c72a0955bfffc6bdf5350fd0ad1da7cc5164.tar.gz
dotfiles-5c72c72a0955bfffc6bdf5350fd0ad1da7cc5164.tar.bz2
dotfiles-5c72c72a0955bfffc6bdf5350fd0ad1da7cc5164.zip
~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.
Diffstat (limited to 'doom.d')
-rw-r--r--doom.d/modules/config.org12
1 files changed, 11 insertions, 1 deletions
diff --git a/doom.d/modules/config.org b/doom.d/modules/config.org
index 3d895ae..1a48d20 100644
--- a/doom.d/modules/config.org
+++ b/doom.d/modules/config.org
@@ -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.