Update README

This commit is contained in:
Kim Silkebækken 2011-11-07 14:39:51 +01:00
parent c1f1926383
commit 8dc93e6141

View File

@ -13,18 +13,18 @@ EasyMotion is triggered by one of the provided mappings.
# Important notes about the default bindings # Important notes about the default bindings
The default leader has been changed to `<Leader>e` to avoid conflicts **The default leader has been changed to `<Leader><Leader>` to avoid
with other plugins you may have installed. This can easily be changed conflicts with other plugins you may have installed.** This can easily be
back by rebinding the leader in your vimrc: changed back to pre-1.3 behavior by rebinding the leader in your vimrc:
let g:EasyMotion_leader_key = '<Leader>' let g:EasyMotion_leader_key = '<Leader>'
All motions are now triggered with `<Leader>e` by default, e.g. All motions are now triggered with `<Leader><Leader>` by default, e.g.
`<Leader>et`, `<Leader>egE`. `<Leader><Leader>t`, `<Leader><Leader>gE`.
## Usage example ## Usage example
Type `<Leader>ew` to trigger the word motion `w`. When the motion is 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 triggered, the text is updated (no braces are actually added, the text
is highlighted in red by default): is highlighted in red by default):
@ -35,7 +35,7 @@ Press `c` to jump to the beginning of the word "sit":
Lorem ipsum dolor <cursor>sit amet. Lorem ipsum dolor <cursor>sit amet.
Similarly, if you're looking for an "o", you can use the `f` motion. Similarly, if you're looking for an "o", you can use the `f` motion.
Type `<Leader>efo`, and all "o" characters are highlighted: Type `<Leader><Leader>fo`, and all "o" characters are highlighted:
<cursor>L{a}rem ipsum d{b}l{c}r sit amet. <cursor>L{a}rem ipsum d{b}l{c}r sit amet.