by edanm · 13y ago · 0 comments
EasyMotion allows make any movement, say "w" for forward by word, and will then highlight the beginning of every word on the screen with a "target key". Pressing that target key will take you to that word. Similarly, doing "<EasyMotion Key>j" will do the same, but with every line down from your line (j=down), making jumping to any line, anywhere, as easy as "<EM>j{letter}".
I have EasyMotion bound to the "space" key, and I use a fork of EasyMotion that automatically highlight with 2 letters instead of one (the default is to higlight with one, and if anything is ambiguous, after pressing the first key you'll get another key to press. With this fork, you never have to "press a key then wait", you always press the two keys that appear).
I also have the letters to use mapped to something like: "asdfghjkl", e.g. the homerow keys in order, because if I mistype one of the keys, EasyMotion will take me pretty near.
So I find EasyMotion great for getting across lines and around the screen, but within the line I think seek is a more fundamental solution.
And I think you should mention EasyMotion in the Readme, I'm probably not the only one around who uses that plugin and many people probably have the same question/
There's a nice intro video by EmacsRocks at [2].
You must be able to type any letter/number on your keyboard without looking at your keyboard that said because the way to use it efficiently consist in first looking where you want move your cursor, then invoking the shortcut while keeping your eyes on your target. That's how you can be really very efficient.
Note that the latest version can also "ace jump" across various Emacs frames (previously it was limited to buffer(s) inside the current frame).
But to be honest the thing posted here for vim is different: Emacs' ace-jump-mode is vim's easymotion and the author of this new vim navigation feature suggest also using easymotion.
But, yeah... Anyone using Emacs or vim and not using ace-jump-mode / easymotion is totally unaware of what he is losing.
Every single time I demonstrate that to coworkers I see a jaw dropping ; )
(And I also had to remap the default keys away from the number row ...)