config/default: make ace-link fallback to avy-link-addr

And present avy overlays even if there is only one candidate, as the
alternative is jarringly unpredictable, unless you're expecting it.
This commit is contained in:
Henrik Lissner 2019-12-24 19:21:45 -05:00
parent 684bdda4b2
commit 914b9b0424
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395

View File

@ -23,7 +23,11 @@
;;;###package avy
(setq avy-all-windows nil
avy-all-windows-alt t
avy-background t)
avy-background t
;; the unpredictability of this makes it a poor default
avy-single-candidate-jump nil
;; Since `goto-address-mode' is enabled everywhere...
ace-link-fallback-function #'ace-link-addr)
(after! epa