From e7ff5027fa25da4960683bf599b078494943cb93 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Fri, 10 Jan 2014 19:55:53 +0900 Subject: [PATCH] Update doc & readme: Plug support for prefix key --- README.md | 2 +- doc/easymotion.txt | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f75e125..88e2bc4 100644 --- a/README.md +++ b/README.md @@ -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 = '' + map (easymotion-prefix) All motions are now triggered with `` by default, e.g. `t`, `gE`. diff --git a/doc/easymotion.txt b/doc/easymotion.txt index 9af952f..9c96a0a 100644 --- a/doc/easymotion.txt +++ b/doc/easymotion.txt @@ -610,20 +610,19 @@ with existing mappings. It is possible to change the default leader key 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* +4.11.1 Leader key *EasyMotion_leader_key* *easymotion-leader-key* + *(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 |(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 '' 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 = '' + map (easymoion-prefix) < Default: ''