From a73d16327ada24c6df4b6bf67ae334d5a7ec48dd Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 28 Jun 2024 13:38:50 +0200 Subject: [PATCH] fix: ace window display-mode, background --- init.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 7deeab5..796d00f 100644 --- a/init.el +++ b/init.el @@ -489,6 +489,8 @@ (aw-leading-char-style 'char) (aw-scope 'global) (aw-dispatch-always t) + :custom-face + (aw-background-face ((t (:foreground "dim gray" :background "#1d2021")))) :init ;; Thanks https://karthinks.com/software/fifteen-ways-to-use-embark/#open-any-buffer-by-splitting-any-window (eval-when-compile @@ -508,6 +510,7 @@ nil nil 'not-this-one-dummy))) (select-window mru-window))) :config + (ace-window-display-mode 1) (add-to-list 'aw-dispatch-alist '(?i other-window-mru)) ;; Thanks https://karthinks.com/software/emacs-window-management-almanac/ @@ -660,7 +663,7 @@ :custom ((vs-modeline-left '("%e" - (:eval (window-parameter (selected-window) 'ace-window-path)) + (:eval (when ace-window-display-mode (window-parameter (selected-window) 'ace-window-path))) " " (:eval (vs-modeline-evil)) mode-line-process -- 2.48.1