avy icon indicating copy to clipboard operation
avy copied to clipboard

functions to resume last jump, and jump to prev/next match from last jump

Open wbolster opened this issue 7 years ago • 5 comments

i'd love to see 2 functions that allow me to jump (using my own keybinding) to the previous/next match of the last avy jump. avy would be able to replace quite a bit of search for me if those functions were available.

related to the above, a function to resume the last jump would be great, showing the overlays from last jump again so that i can quickly jump to one of the other matches from the last jump.

wbolster avatar Jul 22 '16 10:07 wbolster

i'd love to see 2 functions that allow me to jump (using my own keybinding) to the previous/next match of the last avy jump. avy would be able to replace quite a bit of search for me if those functions were available.

Seems useful.

related to the above, a function to resume the last jump would be great, showing the overlays from last jump again so that i can quickly jump to one of the other matches from the last jump.

There's avy-resume already.

abo-abo avatar Jul 22 '16 12:07 abo-abo

after i used avy-goto-char-timer, and jumped to one of the matches, avy-resume does not show the overlays again. instead it asks for a character again.

am i missing something?

wbolster avatar Jul 22 '16 12:07 wbolster

am i missing something?

Yea, avy-goto-char-timer is the single command (I guess) for which avy-resume doesn't work as for the others.

abo-abo avatar Jul 22 '16 12:07 abo-abo

thanks, that explains. i use evil-easymotion (built on avy), and resuming does not work for those commands either, unfortunately.

wbolster avatar Jul 22 '16 13:07 wbolster

You can raise a bugreport with @PythonNut for that. The fix is very simple: wrap the commands in avy-with, just like all avy's commands are.

abo-abo avatar Jul 22 '16 13:07 abo-abo