summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-10-07 21:52:09 +0800
committerMaxime Coste <mawww@kakoune.org>2017-10-07 21:52:09 +0800
commitb93fd8cbca4594e4d00de686e4a8a2b1f60d9cce (patch)
tree06d57cd60ba9ba3cb9f1683c36ce332b69eae09e
parentca17fbbeb9f2b7fb7a49f63167f0b807ac1a469e (diff)
parent95e788786fb12330b3701390206dd33f0f35f726 (diff)
Merge remote-tracking branch 'Delapouite/collapse-jumps'
-rw-r--r--README.asciidoc10
-rw-r--r--doc/manpages/execeval.asciidoc5
2 files changed, 10 insertions, 5 deletions
diff --git a/README.asciidoc b/README.asciidoc
index d294d305..c63f66ab 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -1191,16 +1191,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 <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.
* `-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>`: 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>::
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