aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-04-28 21:04:17 -0400
committerJames McCoy <jamessan@jamessan.com>2017-04-29 21:46:12 -0400
commitdbdc2d40bb7a950e294c6e50906f546707ccf390 (patch)
tree72eadcf95cf00567554ef2e2a2a5c557e15d3237 /runtime
parent0df1b6655be5385c9cbb70dca1c042c6447ec50b (diff)
downloadrneovim-dbdc2d40bb7a950e294c6e50906f546707ccf390.tar.gz
rneovim-dbdc2d40bb7a950e294c6e50906f546707ccf390.tar.bz2
rneovim-dbdc2d40bb7a950e294c6e50906f546707ccf390.zip
vim-patch:7.4.2231
Problem: ":oldfiles" output is a very long list. Solution: Add a pattern argument. (Coot, closes vim/vim#575) https://github.com/vim/vim/commit/e11d61a3b1cdedf3144de697a2b38af62c3a78d8
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/starting.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/runtime/doc/starting.txt b/runtime/doc/starting.txt
index f7c47125f1..f34da79e85 100644
--- a/runtime/doc/starting.txt
+++ b/runtime/doc/starting.txt
@@ -1182,12 +1182,21 @@ running) you have additional options:
*:o* *:ol* *:oldfiles*
: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|.
+ afterwards with `:rshada!`. Also see |v:oldfiles|.
The number can be used with |c_#<|.
The output can be filtered with |:filter|, e.g.: >
filter /\.vim/ oldfiles
< The filtering happens on the file name.
+:ol[dfiles] {pat}
+:ol[dfiles] /{pat}/
+ Like `:oldfiles` but only files matching {pat} will
+ be included. {pat} is a Vim search pattern. Instead
+ of enclosing it in / any non-ID character (see
+ |'isident'|) can be used, so long as it does not
+ appear in {pat}. Without the enclosing character the
+ pattern cannot include the bar character.
+
:bro[wse] o[ldfiles][!]
List file names as with |:oldfiles|, and then prompt
for a number. When the number is valid that file from