EasyMotion : Vim motions on speed!
script karma |
Rating 1511/459,
Downloaded by 15730 |
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. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.118.171.161
|