From e0d6f7920222457871c580c497d91f4f2ce9babc Mon Sep 17 00:00:00 2001 From: Carlos Feliciano Barba Date: Thu, 25 Jun 2020 19:30:37 -0400 Subject: [PATCH] Clarify ace-window font size and add example --- modules/ui/window-select/README.org | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/ui/window-select/README.org b/modules/ui/window-select/README.org index 1f080e2e5..f45445b63 100644 --- a/modules/ui/window-select/README.org +++ b/modules/ui/window-select/README.org @@ -48,7 +48,15 @@ The first character of the buffers changes to a highlighted, user-selectable character. + Pros: the content of the buffers are always visible. - + Cons: The displayed characters are small and difficult to see. + + Cons: Requires custom configuration to show large letters. + +**** Custom font-face example +This changes the ace-window display to show a white letter with a red background. The box attribute adds some padding. +#+BEGIN_SRC elisp + (custom-set-faces + '(aw-leading-char-face + ((t (:foreground "white" :background "red" :weight bold :height 2.5 :box (:line-width 10 :color "red")))))) +#+END_SRC ** switch-window Replaces the entire buffer with large letters.