diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-27 05:12:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-27 05:12:45 +0100 |
commit | 52410575be50d5c40bbe6380159df48cfc382ceb (patch) | |
tree | f8a212edd951fa1df961da74870bc9c172dc0b01 /runtime/doc/eval.txt | |
parent | dfded98f87601b11271ee88392c821ceb6390eda (diff) |
patch 8.1.2225: the "last used" info of a buffer is under usedv8.1.2225
Problem: The "last used" info of a buffer is under used.
Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used
field. (Andi Massimino, closes #4722)
Diffstat (limited to 'runtime/doc/eval.txt')
-rw-r--r-- | runtime/doc/eval.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index a167d5f563..f50c8c5b87 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -4778,6 +4778,10 @@ 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. + {only with the |+viminfo| feature} listed TRUE if the buffer is listed. lnum current line number in buffer. loaded TRUE if the buffer is loaded. |