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.
|
the selection contents are escaped with a backslash.
|
||||||
* `kak_selection_desc`: range of the main selection, represented as `anchor,cursor`;
|
* `kak_selection_desc`: range of the main selection, represented as `anchor,cursor`;
|
||||||
anchor and cursor are in this format: `line.column`
|
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_bufname`: name of the current buffer
|
||||||
* `kak_buffile`: full path of the file or same as `kak_bufname` when
|
* `kak_buffile`: full path of the file or same as `kak_bufname` when
|
||||||
there's no associated file
|
there's no associated file
|
||||||
|
|
|
@ -2037,7 +2037,9 @@ const CommandDesc set_register_cmd = {
|
||||||
const CommandDesc select_cmd = {
|
const CommandDesc select_cmd = {
|
||||||
"select",
|
"select",
|
||||||
nullptr,
|
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,
|
single_param,
|
||||||
CommandFlags::None,
|
CommandFlags::None,
|
||||||
CommandHelper{},
|
CommandHelper{},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user