How to quickly jump somewhere in a buffer using Avy (like EasyMotion)

One way to navigate around a buffer (file) quickly is to use Avy. It comes with Spacemacs.

How to jump to the beginning of a word

Press SPACE SPACE in an open file:

shows the avy word option in Spacemacs

You'll see a prompt appear, asking you for a character:

a char: prompt appears

Choose a word in the buffer (e.g. Rectangle). Type the first letter of that word (r). You'll see all of the words starting with r highlighted, with another letter in their place:

all r characters are now highlighted

If you type the highlighted letter, you will jump directly to that word!

Next: How to create a keyboard shortcut in Spacemacs


Leave a comment

What color are green eyes? (spam prevention)
Code under MIT License unless otherwise indicated.
© 2020, Downranked, LLC.