mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-07 05:04:34 +08:00
Minor documentation tweaks
Fix a typo in a hyperlink, and change the sample code for delimitMate#JumpAny() to use an <expr> mapping instead of <C-R>=.
This commit is contained in:
@@ -61,7 +61,7 @@ the go.
|
|||||||
2. CUSTOMIZATION *delimitMateOptions*
|
2. CUSTOMIZATION *delimitMateOptions*
|
||||||
|
|
||||||
You can create your own mappings for some features using the global functions.
|
You can create your own mappings for some features using the global functions.
|
||||||
Read |DelimitMateFunctions| for more info.
|
Read |delimitMateFunctions| for more info.
|
||||||
|
|
||||||
------------------------------------------------------------------------------
|
------------------------------------------------------------------------------
|
||||||
2.1 OPTIONS SUMMARY *delimitMateOptionSummary*
|
2.1 OPTIONS SUMMARY *delimitMateOptionSummary*
|
||||||
@@ -687,7 +687,7 @@ This function returns a mapping that will make the cursor jump to the right
|
|||||||
when delimitMate#ShouldJump() returns 1, returns the argument "key" otherwise.
|
when delimitMate#ShouldJump() returns 1, returns the argument "key" otherwise.
|
||||||
e.g.: You can use this to create your own mapping to jump over any delimiter.
|
e.g.: You can use this to create your own mapping to jump over any delimiter.
|
||||||
>
|
>
|
||||||
inoremap <C-Tab> <C-R>=delimitMate#JumpAny()<CR>
|
inoremap <expr> <C-Tab> delimitMate#JumpAny()
|
||||||
<
|
<
|
||||||
==============================================================================
|
==============================================================================
|
||||||
7. AUTOCOMMANDS *delimitMateAutocmds*
|
7. AUTOCOMMANDS *delimitMateAutocmds*
|
||||||
|
|||||||
Reference in New Issue
Block a user