Update doc & readme: Plug support for prefix key

This commit is contained in:
haya14busa 2014-01-10 19:55:53 +09:00
parent d0352aacfd
commit e7ff5027fa
2 changed files with 7 additions and 8 deletions

View File

@ -28,7 +28,7 @@ EasyMotion is triggered by one of the provided mappings.
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>'
map <Leader> <Plug>(easymotion-prefix)
All motions are now triggered with `<Leader><Leader>` by default, e.g.
`<Leader><Leader>t`, `<Leader><Leader>gE`.

View File

@ -611,19 +611,18 @@ of all mappings to another key or sequence. It is also possible to fine
tune the plugin to your need by changing every single sequence.
4.11.1 Leader key *EasyMotion_leader_key* *easymotion-leader-key*
*g:EasyMotion_leader_key*
*<Plug>(easymotion-prefix)*
The default leader key can be changed with the configuration option
|EasyMotion_leader_key|.
The default leader key can be changed with the |<Plug>(easymoion-prefix)|
Set this option to the key sequence to use as the prefix of the mappings
Set this keymapping to the key sequence to use as the prefix of the mappings
described in |easymotion-default-mappings|.
Note: The default leader key has been changed to '<Leader><Leader>' to
avoid conflicts with other plugins. You can revert to the original
leader by setting this option in your vimrc: >
leader by setting this keymapping in your vimrc: >
let g:EasyMotion_leader_key = '<Leader>'
map <Leader> <Plug>(easymoion-prefix)
<
Default: '<Leader><Leader>'