diff runtime/doc/various.txt @ 10004:8061455d9179

commit https://github.com/vim/vim/commit/818078ddfbb8cc2546f697c5675a251d095722ec Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 27 21:58:42 2016 +0200 Updated runtime files and translations.
author Christian Brabandt <cb@256bit.org>
date Sat, 27 Aug 2016 22:00:08 +0200
parents e975914c17e9
children b11ceef7116e
line wrap: on
line diff
--- a/runtime/doc/various.txt
+++ b/runtime/doc/various.txt
@@ -1,4 +1,4 @@
-*various.txt*   For Vim version 7.4.  Last change: 2016 Aug 23
+*various.txt*   For Vim version 7.4.  Last change: 2016 Aug 26
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -91,6 +91,8 @@ 8g8			Find an illegal UTF-8 byte sequenc
 			on paper see |:hardcopy|.  In the GUI you can use the
 			File.Print menu entry.
 			See |ex-flags| for [flags].
+			The |:filter| command can be used to only show lines
+			matching a pattern.
 
 :[range]p[rint] {count} [flags]
 			Print {count} lines, starting with [range] (default
@@ -528,7 +530,9 @@ N  *+X11*		Unix only: can restore window
 :filt[er] {pat} {command}
 :filt[er] /{pat}/ {command}
 			Restrict the output of {command} to matches with {pat}.
-
+			For example, to list only xml files: >
+				:filter /\.xml$/ oldfiles
+<
 			{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