Kim Silkebækken bd76f58e04 Merge branch 'release/1.1.1'
* release/1.1.1:
  Bump version
  Update docs
  Replace hard tabs with spaces to avoid jumping
  Update doc reference
  Update comments and code folds
  Make InitOptions take a dict as its parameter
  Fix "e" operator-pending motion
  Add credits
  Update docs
  Allow customizing all key mappings
2011-04-01 10:05:13 +02:00
2011-04-01 10:05:08 +02:00
2011-03-31 08:23:06 +02:00

Introduction

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.

EasyMotion is triggered by one of the provided mappings.

Usage example

Type <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.

Similarly, if you're looking for an "o", you can use the f motion.
Type <Leader>fo, and all "o" characters are highlighted:

<cursor>L{a}rem ipsum d{b}l{c}r sit amet.

Press b to jump to the second "o":

Lorem ipsum d<cursor>olor sit amet.

Jeffrey Way of Nettuts+ has also written a tutorial about EasyMotion.

Animated demonstration

Animated demonstration

Description
No description provided
Readme 2.3 MiB
Languages
Vim script 100%