Add selections_desc format to select autoinfo
This commit is contained in:
parent
f4596d509f
commit
25f25df8f5
|
@ -798,7 +798,7 @@ Some of Kakoune state is available through environment variables:
|
|||
the selection contents are escaped with a backslash.
|
||||
* `kak_selection_desc`: range of the main selection, represented as `anchor,cursor`;
|
||||
anchor and cursor are in this format: `line.column`
|
||||
* `kak_selections_desc`: range of the selecations separated by colons
|
||||
* `kak_selections_desc`: range of the selections separated by colons
|
||||
* `kak_bufname`: name of the current buffer
|
||||
* `kak_buffile`: full path of the file or same as `kak_bufname` when
|
||||
there's no associated file
|
||||
|
|
|
@ -2037,7 +2037,9 @@ const CommandDesc set_register_cmd = {
|
|||
const CommandDesc select_cmd = {
|
||||
"select",
|
||||
nullptr,
|
||||
"select <selections_desc>: select given selections",
|
||||
"select <selections_desc>: select given selections\n"
|
||||
"\n"
|
||||
"selections_desc format is <anchor_line>.<anchor_column>,<cursor_line>.<cursor_column>:...",
|
||||
single_param,
|
||||
CommandFlags::None,
|
||||
CommandHelper{},
|
||||
|
|
Loading…
Reference in New Issue
Block a user