Closed adithyaov closed 4 years ago
By default avy-goto-char
is already configured in this way.
You can configure avy-goto-word-0
like this:
(setq avy-orders-alist
'((avy-goto-char . avy-order-closest)
(avy-goto-word-0 . avy-order-closest)))
I've put this info on the wiki: https://github.com/abo-abo/avy/wiki/defcustom
Aha! Thank you very much. I apologize, I seem to have missed it somehow.
Hi, I'm a new emacs user. I used to use easymotion a lot in Vim and am happy to see something very similar in emacs as well.
When processing the current view, Avy does it in a top to bottom fashion. Ie. smaller letter combinations always appear on the top of the view. Consider the following,
s
denoted by[s]
on line 2If we do an
avy-goto-word-0
, Something like this would appear,{
and}
Instead of this what if I want something like,
Ie. The words closest to the current point should have the least amount of combinations of letters. In other words, process the view starting from the current point, outwards.
Please let me know, if there is a way to emulate this, else, I'll be happy to make a PR with some assistance :-)
PS: I apologize if I did not use the terms correctly.