From 914b9b0424a40656b156a166f5dc16238edb26d5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 24 Dec 2019 19:21:45 -0500 Subject: [PATCH] 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. --- modules/config/default/config.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/config/default/config.el b/modules/config/default/config.el index 26c194e7d..fb6d8c2c7 100644 --- a/modules/config/default/config.el +++ b/modules/config/default/config.el @@ -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