avy-mode and ace-jump fonts much too difficult to see
impaktor opened this issue · 7 comments
The current colour-scheme is anything but helpful when using ace-jump mode.
Consider this Python snippet, where I want to navigate to the False
on the second line.
So activate ace-jump:
See how the "F" is replaced with a completly different character? Me neither.
We might all like discrete fonts and low constrast colour-schemes, like the line numbers, but sometimes we need to see things that "pop" at us, especially when it's stuff that are only (meant to be) shown for a few seconds.
I think the most sane thing would be to set a fixed background colour and a contrasting foreground colour, it's the best way to make it visible also in various syntax highlighting / font lock schemes.
I have not looked further into which zenburn colours might be useful for this, but gray background is not what I would suggest here, but perhaps rather the inverse.
To demonstrate, this is how clear it can be in other colourschemes:
(from https://github.com/abo-abo/avy)
As mentioned before - I'm fine with something like this as long as it's conditional.
@impaktor @manuel-uberti Btw, I failed to mention this before - you're probably not setting avy-background
to t
(like I do). I'm guessing the conditional check should be exactly this - stronger backgrounds make sense only when you're not using avy-background
(which is dimming everything else).
Anyways, it's easy to change those in personal configs, so I'll close this ticket.
I'm fine with something like this as long as it's conditional.
I currently don't have the time to aquire the needed skills to do that, but I already run my own "blend" of zenburn, but maybe in the future I'll have another stab at migrating my changes upstream.
Regarding avy-background
. When I used ace-jump I did like the gray out stuff, mostly because it looked neat. Trying it without, is not as neat or pretty, but for me much more functional, as I used to easily get lost when the gray-out during search. To each his own.
Thanks for the hint, @bbatsov
(use-package avy :ensure t
:commands (avy-goto-char)
:config
(setq avy-background t)
:custom-face
(avy-lead-face ((t(:weight bold))))
(avy-lead-face-0 ((t(:weight bold))))
)