Skip to content

Commit bd76f58

Browse files
committed
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
2 parents 7c6cff7 + f2f7d91 commit bd76f58

File tree

2 files changed

+189
-173
lines changed

2 files changed

+189
-173
lines changed

doc/easymotion.txt

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*easymotion.txt* Version 1.1.0.1. Last change: 2011 Mar 31
1+
*easymotion.txt* Version 1.1.1. Last change: 2011 Apr 1
22

33

44
______ __ ___ __ _
@@ -23,6 +23,7 @@ CONTENTS *easymotion-contents*
2323
4.3 EasyMotion_shade_hl ............ |EasyMotion_shade_hl|
2424
4.4 EasyMotion_do_shade ............ |EasyMotion_do_shade|
2525
4.5 EasyMotion_do_mapping .......... |EasyMotion_do_mapping|
26+
4.6 Custom mappings ................ |easymotion-custom-mappings|
2627
5. License ............................ |easymotion-license|
2728
6. Known bugs ......................... |easymotion-known-bugs|
2829
7. Contributing ....................... |easymotion-contributing|
@@ -42,7 +43,7 @@ following the cursor is faded, and motion targets are highlighted.
4243
2. Usage *easymotion-usage*
4344

4445
EasyMotion is triggered by one of the provided mappings (see
45-
|EasyMotion_do_mapping| for details).
46+
|easymotion-default-mappings| for details).
4647

4748
Example: >
4849
@@ -89,6 +90,7 @@ visual and operator-pending mode:
8990
<Leader>k | Line upward. See |k|.
9091

9192
See |mapleader| for details about the leader key.
93+
See |easymotion-custom-mappings| for customizing default mappings.
9294

9395
==============================================================================
9496
3. Requirements *easymotion-requirements*
@@ -159,10 +161,27 @@ Set this option to 0 if you want to disable the default mappings. See
159161
|easymotion-default-mappings| for details about the default mappings.
160162

161163
Note: If you disable this option, you'll have to map the motions yourself. See
162-
the plugin source code for mapping details.
164+
the plugin source code for mapping details. You usually shouldn't need to do
165+
this, see |easymotion-custom-mappings| for customizing the default mappings.
163166

164167
Default: 1
165168

169+
------------------------------------------------------------------------------
170+
4.6 Custom mappings *easymotion-custom-mappings*
171+
172+
EasyMotion allows you to customize all default mappings to avoid conflicts
173+
with existing mappings. All custom mappings follow the same variable format: >
174+
175+
EasyMotion_mapping_{motion} = {mapping}
176+
177+
Example: >
178+
179+
let g:EasyMotion_mapping_f = '_f'
180+
let g:EasyMotion_mapping_T = '<C-T>'
181+
182+
See |easymotion-default-mappings| for a table of motions that can be mapped
183+
and their default values.
184+
166185
==============================================================================
167186
5. License *easymotion-license*
168187

@@ -173,8 +192,7 @@ http://creativecommons.org/licenses/by-sa/3.0/
173192
==============================================================================
174193
6. Known bugs *easymotion-known-bugs*
175194

176-
- Lines jump to the left when usin j/k motions when a line is prepended
177-
by a hard tab due to the tab being replaced with the marker character.
195+
None.
178196

179197
==============================================================================
180198
7. Contributing *easymotion-contributing*
@@ -191,6 +209,7 @@ Source repository: https://github.com/Lokaltog/vim-easymotion
191209

192210
- Ben Boeckel: ge motion
193211
- Drew Neil: operator-pending mappings
212+
- Rob O'Dwyer: customizable mappings without giving up all defaults
194213

195214
EasyMotion is based on Bartlomiej Podolak's great PreciseJump script, which
196215
can be downloaded here:

0 commit comments

Comments
 (0)