Add documentation for curr_history_id

This commit is contained in:
Francesco Magliocca 2017-09-03 20:48:28 +02:00
parent b3ac4d86b6
commit a903824ca6
2 changed files with 5 additions and 0 deletions

View File

@ -792,6 +792,8 @@ Some of Kakoune state is available through environment variables:
* `kak_buf_line_count`: the current buffer line count
* `kak_timestamp`: timestamp of the current buffer, the timestamp is an
integer value which is incremented each time the buffer is modified.
* `kak_curr_history_id`: history id of the current buffer, the history id is an integer value
which is used to reference a specific buffer version in the undo tree
* `kak_runtime`: directory containing the kak binary
* `kak_count`: count parameter passed to the command
* `kak_opt_<name>`: value of option <name>

View File

@ -74,6 +74,9 @@ informations about Kakoune's state:
*kak_timestamp*::
timestamp of the current buffer, the timestamp is an integer value
which is incremented each time the buffer is modified
*kak_curr_history_id*::
history id of the current buffer, the history id is an integer value
which is used to reference a specific buffer version in the undo tree
*kak_runtime*::
directory containing the kak binary
*kak_count*::