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

Comments

Leave a comment

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