Docs: add missing -collapse-jumps and fix -itersel

This commit is contained in:
Delapouite 2017-10-03 14:22:15 +02:00
parent 2f251c9861
commit 95e788786f
2 changed files with 10 additions and 5 deletions

View File

@ -1186,9 +1186,9 @@ Some parameters provide a way to change the context of execution:
modifications to the selections or input state will not affect
the client. This permits to make some modification to the buffer
without modifying the user's selection.
* `-itersel` (requires `-draft`): execute once per selection, in a
context with only the considered selection. This permits avoiding
cases where the selections may get merged.
* `-itersel`: execute once per selection, in a context with only
the considered selection. This permits avoiding cases where
the selections may get merged.
* `-buffer <names>`: execute in the context of each buffers in the
comma separated list <names>, '*' as a name can be used to iterate
on all buffers.
@ -1196,6 +1196,8 @@ Some parameters provide a way to change the context of execution:
* `-with-maps`: use user key mapping in `:exec` instead of built in keys.
* `-save-regs <regs>`: regs is a string of registers to be restored after
execution (overwrites the list of registers saved by default)
* `-collapse-jumps`:
collapse all jumps into a single one from initial selection
The execution stops when the last key/command is reached, or an error
is raised.

View File

@ -38,7 +38,7 @@ Optional flags
permits to make some modification to the buffer without modifying
the users selection
*-itersel* (requires -draft)::
*-itersel*::
execute once per selection, in a context with only the considered
selection. This permits avoiding cases where the selections may
get merged
@ -56,3 +56,6 @@ Optional flags
*-save-regs* <regs>::
regs is a string of registers to be restored after execution (overwrites
the list of registers saved by default, c.f. description)
*-collapse-jumps*::
collapse all jumps into a single one from initial selection