Docs: update trampoline with new rotation primitives

This commit is contained in:
Delapouite 2018-03-27 19:00:49 +02:00
parent 726dd8f0d8
commit ed677d2f05

View File

@ -263,11 +263,11 @@ using the built-in `:doc` command.
=[ ROTATING =[ ROTATING
Often used in conjunction with the splitting primitive Often used in conjunction with the splitting primitive
(`S`), the rotation primitive (`<a-">`) shifts all the (`S`), the rotation primitive (`<a-)>`) shifts all the
selections clock-wise. Note that a count (described after) selections clock-wise. Note that a count (described after)
allows the rotation to take place in sub-groups whose size allows the rotation to take place in sub-groups whose size
.---, .---, is given by the count parameter. .---, .---, is given by the count parameter.
|alt|+| " | |alt|+| ) |
`---' `---' Example: in a numbered list where all the numbers are `---' `---' Example: in a numbered list where all the numbers are
selected (e.g. `1 2 3 4 5 6 7 8 9 0`), a rotation using selected (e.g. `1 2 3 4 5 6 7 8 9 0`), a rotation using
this primitive will shift all the numbers by one selection this primitive will shift all the numbers by one selection
@ -343,14 +343,14 @@ using the built-in `:doc` command.
expressions, there are times when using them isn't enough, expressions, there are times when using them isn't enough,
and additional manual edition of the selections is and additional manual edition of the selections is
.---, needed. In order to loop through all the selections and .---, needed. In order to loop through all the selections and
| ' | remove the current one, two primitives are available: | ) | remove the current one, two primitives are available:
`---' respectively the simple quote (`'`), and the alt/space `---' respectively the parenthesis (`)`), and the alt/space
key combination (`<a-space>`). key combination (`<a-space>`).
.---, .---, .---, .---,
|alt|+|spc| Example: given a list of three numbers all selected |alt|+|spc| Example: given a list of three numbers all selected
`---' `---' individually, (e.g. `1 2 3`), deselecting the second `---' `---' individually, (e.g. `1 2 3`), deselecting the second
selection would be done by hitting the quote primitive selection would be done by hitting the parenthesis primitive
(`'`) until the according selection is the current one, (`)`) until the according selection is the current one,
then hitting `<a-space>` to end up with only the first then hitting `<a-space>` to end up with only the first
and third number selected. and third number selected.