diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-03-05 17:04:09 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-03-05 17:04:09 +0100 |
commit | 214641f77df6f318a4b3a0b09723c19859a103f4 (patch) | |
tree | 9422434318c17140266d397e16fd359e81bc75e7 /runtime/doc/various.txt | |
parent | 066029ef92b45dc4bd21a353b1fac25841062c26 (diff) | |
download | vim-git-214641f77df6f318a4b3a0b09723c19859a103f4.tar.gz |
Runtime file updates.
Diffstat (limited to 'runtime/doc/various.txt')
-rw-r--r-- | runtime/doc/various.txt | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index 2bcb1ca1f..b3aa4b54f 100644 --- 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 title |X11| :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 under the 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 |