diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-04-26 23:57:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-26 23:57:37 -0400 |
commit | 34ad1ea36637845adb14c579587168126d3210e3 (patch) | |
tree | 7342478885db7348b3925739f5a0320b48121102 /runtime | |
parent | 5f41717838f4cd9d1087e452640ba554500279ab (diff) | |
parent | 978a6bcaf2b98b3c89381a3eacf642b4f61db033 (diff) | |
download | rneovim-34ad1ea36637845adb14c579587168126d3210e3.tar.gz rneovim-34ad1ea36637845adb14c579587168126d3210e3.tar.bz2 rneovim-34ad1ea36637845adb14c579587168126d3210e3.zip |
Merge #12155 ':ls filter by terminal, lastused'
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 3 | ||||
-rw-r--r-- | runtime/doc/options.txt | 2 | ||||
-rw-r--r-- | runtime/doc/windows.txt | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 29c5c37bcd..4ff6269004 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4164,6 +4164,9 @@ getbufinfo([{dict}]) changed TRUE if the buffer is modified. changedtick number of changes made to the buffer. hidden TRUE if the buffer is hidden. + lastused timestamp in seconds, like + |localtime()|, when the buffer was + last used. listed TRUE if the buffer is listed. lnum current line number in buffer. linecount number of lines in the buffer (only diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 5fb80d75ce..009695c13c 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6742,6 +6742,8 @@ A jump table for the options with a short description can be found at |Q_op|. complete first match. "list:longest" When more than one match, list all matches and complete till longest common string. + "list:lastused" When more than one buffer matches, sort buffers + by time last used (other than the current buffer). When there is only a single match, it is fully completed in all cases. Examples: > diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 977e0daef7..b5623f4ea4 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -1021,6 +1021,9 @@ list of buffers. |unlisted-buffer| x buffers with a read error % current buffer # alternate buffer + R terminal buffers with a running job + F terminal buffers with a finished job + t show time last used and sort buffers Combining flags means they are "and"ed together, e.g.: h+ hidden buffers which are modified a+ active buffers which are modified |