Merge remote-tracking branch 'Delapouite/doc-semicolon'

This commit is contained in:
Maxime Coste 2019-11-07 20:04:58 +11:00
commit 4a954839fa
2 changed files with 9 additions and 6 deletions

View File

@ -362,7 +362,10 @@ but not really useful in that context.
Commands (c.f. previous sections) can be chained, by being separated either Commands (c.f. previous sections) can be chained, by being separated either
by new lines or by semicolons, as such a semicolon must be escaped with a by new lines or by semicolons, as such a semicolon must be escaped with a
backslash (\;) to be considered as a literal semicolon argument backslash (\;) to be considered as a literal semicolon argument.
To avoid trouble while writing `map` or `execute-keys` commands in scripts,
the alternative key namings `<semicolon>` and `<a-semicolon>` can be used.
== Declaring new commands == Declaring new commands

View File

@ -40,7 +40,7 @@ In order to bind some keys to arbitrary ones, refer to <<mapping#,`:doc mapping`
*<c-u>*:: *<c-u>*::
commit changes up to now as a single undo group commit changes up to now as a single undo group
*<a-;>*:: *<a-;>*, *<a-semicolon>*::
escape to normal mode for a single command escape to normal mode for a single command
== Insert mode completion == Insert mode completion
@ -195,10 +195,10 @@ the Shift modifier and moving will extend each selection instead.
*<c-d>*:: *<c-d>*::
scroll half a page down scroll half a page down
*;*:: *;*, *<semicolon>*::
reduce selections to their cursor reduce selections to their cursor
*<a-;>*:: *<a-;>*, *<a-semicolon>*::
flip the direction of each selection flip the direction of each selection
*<a-:>*:: *<a-:>*::
@ -693,7 +693,7 @@ in order to specify the wanted object:
*c*:: *c*::
select user defined object, will prompt for open and close text select user defined object, will prompt for open and close text
*<a-;>*:: *<a-;>*, *<a-semicolon>*::
run a command with additional expansions describing the selection run a command with additional expansions describing the selection
context (See <<expansions#,`:doc expansions`>>) context (See <<expansions#,`:doc expansions`>>)
@ -797,5 +797,5 @@ The following keys are recognized by this mode to help with editing
expand the typed expansions in currently entered text expand the typed expansions in currently entered text
(See <<expansions#typed-expansions,`:doc expansions typed-expansions`>>) (See <<expansions#typed-expansions,`:doc expansions typed-expansions`>>)
*<a-;>*:: *<a-;>*, *<a-semicolon>*::
escape to normal mode for a single command escape to normal mode for a single command