sponsor Vim development Vim logo Vim Book Ad

EasyMotion : Vim motions on speed!

 script karma  Rating 1487/451, Downloaded by 15191  Comments, bugs, improvements  Vim wiki

created by
Kim Silkebækken
 
script type
utility
 
description
EasyMotion provides a much simpler way to use some motions in vim. It takes the <number> out of <number>w or <number>f{char} by highlighting all possible choices and allowing you to press one key to jump directly to the target.

When one of the available motions is triggered, all visible text preceding or following the cursor is faded, and motion targets are highlighted.

* Animated demo: http://oi54.tinypic.com/2yysefm.jpg
* Video tutorial on Nettuts+: http://net.tutsplus.com/tutorials/other/vim-essential-plugin-easymotion/


IMPORTANT NOTES ABOUT THE DEFAULT BINDINGS

The default leader has been changed to <Leader><Leader> to avoid conflicts with other plugins you may have installed. This can easily be changed back to pre-1.3 behavior by rebinding the leader in your vimrc:

    let g:EasyMotion_leader_key = '<Leader>'

All motions are now triggered with <Leader><Leader> by default, e.g. <Leader><Leader>t, <Leader><Leader>gE.


USAGE EXAMPLE

Type <Leader><Leader>w to trigger the word motion w. When the motion is triggered, the text is updated (no braces are actually added, the text is highlighted in red by default):

    <cursor>Lorem {a}psum {b}olor {c}it {d}met.

Press "c" to jump to the beginning of the word "sit":

    Lorem ipsum dolor <cursor>sit amet.


* Check out the GitHub repo for the latest updates: http://git.io/EM
* Please report any issues here: https://github.com/Lokaltog/vim-easymotion/issues
 
install details
Extract and move contents to your .vim folder.

Pathogen users: Clone git://github.com/Lokaltog/vim-easymotion.git into your bundle folder.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
Lokaltog-vim-easymotion-1.3-0-g667a668.zip 1.3 2011-11-09 7.2 Kim Silkebækken IMPORTANT NOTE: Default leader has been changed to <Leader><Leader> to avoid conflicts with other plugins. Various bugfixes and improvements.
Lokaltog-vim-easymotion-1.2-0-gdfb8079.zip 1.2 2011-04-03 7.2 Kim Silkebækken WORD motions. Customizable key mappings. Configurable leader key. Improved default grouping algorithm. Easier to apply custom highlighting. No more jumping on j/k motions. Various bug fixes.
Lokaltog-vim-easymotion-1.1.0.1-0-g7c6cff7.zip 1.1.0.1 2011-03-31 7.2 Kim Silkebækken EasyMotion now works in operator-pending mode as well. Summary of features: Normal, visual and operator-pending mode mappings for the following motions: f - F - t - T - w - b - e - ge - j - k.
Lokaltog-vim-easymotion-1.0.12.1-0-gce13b9a.zip 1.0.12.1 2011-03-31 7.2 Kim Silkebækken Updated docs. Fixed missing target/shade highlighting issue. Fixed GUI bugs.
Lokaltog-vim-easymotion-1.0.10-0-g5809794.zip 1.0.10 2011-03-30 7.2 Kim Silkebækken New motions: ge, j, k.
Lokaltog-vim-easymotion-1.0.8-0-g24c9f6c.zip 1.0.8 2011-03-30 7.2 Kim Silkebækken Various code improvements.
Lokaltog-vim-easymotion-1.0.6-0-gc58f0b7.zip 1.0.6 2011-03-29 7.2 Kim Silkebækken Code improvements. Various bug fixes. Updated source location.
ip used for rating: 54.235.6.60

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github