Document count parameters for commands

Closes #895
This commit is contained in:
Frank LENORMAND 2016-10-26 13:33:09 +03:00 committed by Frank Lenormand
parent 4b2004c6ff
commit 11733bc5a8
2 changed files with 3 additions and 0 deletions

View File

@ -739,6 +739,7 @@ Some of Kakoune state is available through environment variables:
* `kak_timestamp`: timestamp of the current buffer, the timestamp is an * `kak_timestamp`: timestamp of the current buffer, the timestamp is an
integer value which is incremented each time the buffer is modified. integer value which is incremented each time the buffer is modified.
* `kak_runtime`: directory containing the kak binary * `kak_runtime`: directory containing the kak binary
* `kak_count`: count parameter passed to the command
* `kak_opt_<name>`: value of option <name> * `kak_opt_<name>`: value of option <name>
* `kak_reg_<r>`: value of register <r> * `kak_reg_<r>`: value of register <r>
* `kak_socket`: filename of session socket (/tmp/kak-<session>) * `kak_socket`: filename of session socket (/tmp/kak-<session>)

View File

@ -74,6 +74,8 @@ informations about Kakoune's state:
which is incremented each time the buffer is modified which is incremented each time the buffer is modified
*kak_runtime*:: *kak_runtime*::
directory containing the kak binary directory containing the kak binary
*kak_count*::
count parameter passed to the command
*kak_opt_<name>*:: *kak_opt_<name>*::
value of option *name* value of option *name*
*kak_reg_<r>*:: *kak_reg_<r>*::