diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-08-27 21:58:42 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-08-27 21:58:42 +0200 |
commit | 818078ddfbb8cc2546f697c5675a251d095722ec (patch) | |
tree | 96d4917c3f1631e1a2e6919c6989b5b2fe84d003 /runtime/doc/various.txt | |
parent | 73d4e4c8922f6f4d256f910a18f47c0c3a48c28b (diff) | |
download | vim-git-818078ddfbb8cc2546f697c5675a251d095722ec.tar.gz |
Updated runtime files and translations.
Diffstat (limited to 'runtime/doc/various.txt')
-rw-r--r-- | runtime/doc/various.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/doc/various.txt b/runtime/doc/various.txt index befc6aceb..cd122d54b 100644 --- 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 @@ g8 Print the hex values of the bytes used in the 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 title |X11| :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 |