abo-abo/avy

Transition from avy-goto-char-timer to search command

noctuid opened this issue · 2 comments

Would be nice if on failure avy-goto-char-timer did something like return the input string, so that a command could be created around it that opens swiper, for example, if there is no match in the visible buffer.

Thanks. The return result of avy-goto-char-timer is either a cons cell or t. We could theoretically use buffer-substring to get the text from the cons cell, but I've added a variable as well for convenience.

Awesome, thanks!