From 3b12bb225adda2aac40a55f7009cae05311b2a43 Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Fri, 6 Nov 2015 00:50:18 +0100 Subject: Add file selection prompt on ":oldfiles!" :browse was removed for good, but some people miss ":browse oldfiles". The same functionality is now provided by ":oldfiles!". Helped-by: @Pyrohh --- runtime/doc/starting.txt | 3 ++- runtime/doc/vim_diff.txt | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'runtime') diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt index 41b4d22cf1..6e72f0cf6b 100644 --- a/runtime/doc/starting.txt +++ b/runtime/doc/starting.txt @@ -1164,10 +1164,11 @@ running) you have additional options: :wv[iminfo][!] [file] Deprecated alias to |:wshada| command. *:o* *:ol* *:oldfiles* -:o[ldfiles] List the files that have marks stored in the ShaDa +:o[ldfiles][!] List the files that have marks stored in the ShaDa file. This list is read on startup and only changes afterwards with ":rshada!". Also see |v:oldfiles|. The number can be used with |c_#<|. + Use ! to get a file selection prompt. :bro[wse] o[ldfiles][!] List file names as with |:oldfiles|, and then prompt diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index b0b6d6df6e..b8de17738a 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -106,6 +106,7 @@ Additional differences: compatibility reasons. - |:wviminfo| was renamed to |:wshada|, |:rviminfo| to |:rshada|. Old commands are still kept. +- |:oldfiles| supports !. - When writing (|:wshada| without bang or at exit) it merges much more data, and does this according to the timestamp. Vim merges only marks. |shada-merging| -- cgit