Clarify ace-window font size and add example

This commit is contained in:
Carlos Feliciano Barba 2020-06-25 19:30:37 -04:00 committed by GitHub
parent 00ebbafb96
commit e0d6f79202
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.