From 95e788786fb12330b3701390206dd33f0f35f726 Mon Sep 17 00:00:00 2001 From: Delapouite Date: Tue, 3 Oct 2017 14:22:15 +0200 Subject: [PATCH] Docs: add missing -collapse-jumps and fix -itersel --- README.asciidoc | 10 ++++++---- doc/manpages/execeval.asciidoc | 5 ++++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/README.asciidoc b/README.asciidoc index 8f01a692..1e7659d7 100644 --- a/README.asciidoc +++ b/README.asciidoc @@ -1186,16 +1186,18 @@ 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 `: execute in the context of each buffers in the comma separated list , '*' as a name can be used to iterate on all buffers. * `-no-hooks`: disable hook execution while executing the keys/commands * `-with-maps`: use user key mapping in `:exec` instead of built in keys. * `-save-regs `: regs is a string of registers to be restored after - execution (overwrites the list of registers saved by default) + 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. diff --git a/doc/manpages/execeval.asciidoc b/doc/manpages/execeval.asciidoc index fad60a9c..91b049d6 100644 --- a/doc/manpages/execeval.asciidoc +++ b/doc/manpages/execeval.asciidoc @@ -38,7 +38,7 @@ Optional flags permits to make some modification to the buffer without modifying the user’s 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 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