comparison runtime/doc/starting.txt @ 9915:4da1a3879100 v7.4.2231

commit https://github.com/vim/vim/commit/e11d61a3b1cdedf3144de697a2b38af62c3a78d8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 20 18:36:54 2016 +0200 patch 7.4.2231 Problem: ":oldfiles" output is a very long list. Solution: Add a pattern argument. (Coot, closes https://github.com/vim/vim/issues/575)
author Christian Brabandt <cb@256bit.org>
date Sat, 20 Aug 2016 18:45:05 +0200
parents 4360b2b46125
children e975914c17e9
comparison
equal deleted inserted replaced
9914:a0884512c300 9915:4da1a3879100
1609 {not in Vi} 1609 {not in Vi}
1610 1610
1611 *:ol* *:oldfiles* 1611 *:ol* *:oldfiles*
1612 :ol[dfiles] List the files that have marks stored in the viminfo 1612 :ol[dfiles] List the files that have marks stored in the viminfo
1613 file. This list is read on startup and only changes 1613 file. This list is read on startup and only changes
1614 afterwards with ":rviminfo!". Also see |v:oldfiles|. 1614 afterwards with `:rviminfo!`. Also see |v:oldfiles|.
1615 The number can be used with |c_#<|. 1615 The number can be used with |c_#<|.
1616 {not in Vi, only when compiled with the |+eval| 1616 {not in Vi, only when compiled with the |+eval|
1617 feature} 1617 feature}
1618
1619 :ol[dfiles] {pat}
1620 :ol[dfiles] /{pat}/
1621 Like `:oldfiles` but only files matching {pat} will
1622 be included. {pat} is a Vim search pattern. Instead
1623 of enclosing it in / any non-ID character (see
1624 |'isident'|) can be used, so long as it does not
1625 appear in {pat}. Without the enclosing character the
1626 pattern cannot include the bar character.
1618 1627
1619 :bro[wse] ol[dfiles][!] 1628 :bro[wse] ol[dfiles][!]
1620 List file names as with |:oldfiles|, and then prompt 1629 List file names as with |:oldfiles|, and then prompt
1621 for a number. When the number is valid that file from 1630 for a number. When the number is valid that file from
1622 the list is edited. 1631 the list is edited.