comparison runtime/doc/various.txt @ 27162:b19230a8d40a

Update runtime files Commit: https://github.com/vim/vim/commit/fd31be29b8220ee1cb0b3460c82f2634ae3cc370 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 16 14:46:06 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sun, 16 Jan 2022 16:00:06 +0100
parents 3e661b0cf500
children 063952f68595
comparison
equal deleted inserted replaced
27161:4ed1558cabe1 27162:b19230a8d40a
1 *various.txt* For Vim version 8.2. Last change: 2022 Jan 08 1 *various.txt* For Vim version 8.2. Last change: 2022 Jan 15
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
568 variables can be used. 568 variables can be used.
569 569
570 :redi[r] END End redirecting messages. 570 :redi[r] END End redirecting messages.
571 571
572 *:filt* *:filter* 572 *:filt* *:filter*
573 :filt[er][!] {pat} {command} 573 :filt[er][!] {pattern} {command}
574 :filt[er][!] /{pat}/ {command} 574 :filt[er][!] /{pattern}/ {command}
575 Restrict the output of {command} to lines matching 575 Restrict the output of {command} to lines matching
576 with {pat}. For example, to list only xml files: > 576 with {pattern}. For example, to list only xml files: >
577 :filter /\.xml$/ oldfiles 577 :filter /\.xml$/ oldfiles
578 < If the [!] is given, restrict the output of {command} 578 < If the [!] is given, restrict the output of {command}
579 to lines that do NOT match {pat}. 579 to lines that do NOT match {pattern}.
580 580
581 {pat} is a Vim search pattern. Instead of enclosing 581 {pattern} is a Vim search pattern. Instead of enclosing
582 it in / any non-ID character (see |'isident'|) can be 582 it in / any non-ID character (see |'isident'|) can be
583 used, so long as it does not appear in {pat}. Without 583 used, so long as it does not appear in {pattern}.
584 the enclosing character the pattern cannot include the 584 Without the enclosing character the pattern cannot
585 bar character. 'ignorecase' is not used. 585 include the bar character. 'ignorecase' is not used.
586 586
587 The pattern is matched against the relevant part of 587 The pattern is matched against the relevant part of
588 the output, not necessarily the whole line. Only some 588 the output, not necessarily the whole line. Only some
589 commands support filtering, try it out to check if it 589 commands support filtering, try it out to check if it
590 works. Some of the commands that support filtering: 590 works. Some of the commands that support filtering: