Mercurial > vim
diff runtime/doc/various.txt @ 11062:1218c5353e2b
Runtime file updates.
commit https://github.com/vim/vim/commit/214641f77df6f318a4b3a0b09723c19859a103f4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 5 17:04:09 2017 +0100
Runtime file updates.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 05 Mar 2017 17:15:05 +0100 |
parents | 9f48eab77d62 |
children | 444ad56c0cac |
line wrap: on
line diff
--- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -1,4 +1,4 @@ -*various.txt* For Vim version 8.0. Last change: 2016 Sep 06 +*various.txt* For Vim version 8.0. Last change: 2017 Feb 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -527,12 +527,14 @@ N *+X11* Unix only: can restore window :redi[r] END End redirecting messages. {not in Vi} *:filt* *:filter* -:filt[er] {pat} {command} -:filt[er] /{pat}/ {command} - Restrict the output of {command} to matches with {pat}. - For example, to list only xml files: > +:filt[er][!] {pat} {command} +:filt[er][!] /{pat}/ {command} + Restrict the output of {command} to lines matching + with {pat}. For example, to list only xml files: > :filter /\.xml$/ oldfiles -< +< If the [!] is given, restrict the output of {command} + to lines that do NOT match {pat}. + {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 @@ -634,7 +636,7 @@ K Run a program to lookup the keyword with the command > :!{program} {keyword} < There is an example of a program to use in the tools - directory of Vim. It is called 'ref' and does a + directory of Vim. It is called "ref" and does a simple spelling check. Special cases: - If 'keywordprg' begins with ":" it is invoked as