Update doc & readme: Plug support for prefix key
This commit is contained in:
parent
d0352aacfd
commit
e7ff5027fa
@ -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
|
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:
|
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.
|
All motions are now triggered with `<Leader><Leader>` by default, e.g.
|
||||||
`<Leader><Leader>t`, `<Leader><Leader>gE`.
|
`<Leader><Leader>t`, `<Leader><Leader>gE`.
|
||||||
|
@ -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.
|
tune the plugin to your need by changing every single sequence.
|
||||||
|
|
||||||
4.11.1 Leader key *EasyMotion_leader_key* *easymotion-leader-key*
|
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
|
The default leader key can be changed with the |<Plug>(easymoion-prefix)|
|
||||||
|EasyMotion_leader_key|.
|
|
||||||
|
|
||||||
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|.
|
described in |easymotion-default-mappings|.
|
||||||
|
|
||||||
Note: The default leader key has been changed to '<Leader><Leader>' to
|
Note: The default leader key has been changed to '<Leader><Leader>' to
|
||||||
avoid conflicts with other plugins. You can revert to the original
|
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>'
|
Default: '<Leader><Leader>'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user