From 52410575be50d5c40bbe6380159df48cfc382ceb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 27 Oct 2019 05:12:45 +0100 Subject: patch 8.1.2225: the "last used" info of a buffer is under used 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) --- runtime/doc/options.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'runtime/doc/options.txt') diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 029a0727f4..6e4ff1d6f5 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -8689,6 +8689,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: > -- cgit v1.2.3