1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-26 04:52:53 +03:00

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 modifications to the selections or input state will not affect
the client. This permits to make some modification to the buffer the client. This permits to make some modification to the buffer
without modifying the user's selection. without modifying the user's selection.
* `-itersel` (requires `-draft`): execute once per selection, in a * `-itersel`: execute once per selection, in a context with only
context with only the considered selection. This permits avoiding the considered selection. This permits avoiding cases where
cases where the selections may get merged. the selections may get merged.
* `-buffer <names>`: execute in the context of each buffers in the * `-buffer <names>`: execute in the context of each buffers in the
comma separated list <names>, '*' as a name can be used to iterate comma separated list <names>, '*' as a name can be used to iterate
on all buffers. 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. * `-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 * `-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 The execution stops when the last key/command is reached, or an error
is raised. is raised.

View File

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