# Modifications to Lokaltog's EasyMotion 1. Use one - two character key jump. Display two keys if one-character key is not enough, so you can see what two keys to type without waiting after pressing the first key. 2. Added forward-backward search (bidirectional) search. You can jump forward or backward at the same time. `s`. One useful trick is to map `nmap s` and `vmap s` to use space bar instead and save one keystroke! 3. Added SelectLines function which allows you to select any range of lines using two consecutive easymotion calls. Default mappings are `cl, dl, vl, yl`. ## Animated demonstration Two-key combo ![two-character key](http://homes.cs.washington.edu/~supasorn/easymotion.gif) Select line using `vl` ![two-character key](http://homes.cs.washington.edu/~supasorn/easymotion2.gif) Yank line using `yl` ![two-character key](http://homes.cs.washington.edu/~supasorn/easymotion3.gif) This is an alpha version, which breaks multi-byte support, and others. # Introduction EasyMotion provides a much simpler way to use some motions in vim. It takes the `` out of `w` or `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. EasyMotion is triggered by one of the provided mappings. # Important notes about the default bindings **The default leader has been changed to `` 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 = '' All motions are now triggered with `` by default, e.g. `t`, `gE`. ## Usage example Type `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): Lorem {a}psum {b}olor {c}it {d}met. Press `c` to jump to the beginning of the word "sit": Lorem ipsum dolor sit amet. Similarly, if you're looking for an "o", you can use the `f` motion. Type `fo`, and all "o" characters are highlighted: L{a}rem ipsum d{b}l{c}r sit amet. Press `b` to jump to the second "o": Lorem ipsum dolor sit amet. Jeffrey Way of Nettuts+ has also [written a tutorial](http://net.tutsplus.com/tutorials/other/vim-essential-plugin-easymotion/) about EasyMotion. ## Animated demonstration ![Animated demonstration](http://oi54.tinypic.com/2yysefm.jpg)