summaryrefslogtreecommitdiffstats
path: root/runtime/doc/quickfix.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-10-20 18:45:33 +0200
committerBram Moolenaar <Bram@vim.org>2010-10-20 18:45:33 +0200
commit483c5d80a708a81edd96f8241c231a29e5c58a2f (patch)
tree71a6a0de6a57c4710df312615a9358387f0bfd84 /runtime/doc/quickfix.txt
parent680eeca955446267680a52cb1207728dc7a2d004 (diff)
Updated runtime files and translations.
Diffstat (limited to 'runtime/doc/quickfix.txt')
-rw-r--r--runtime/doc/quickfix.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt
index deb475c4fc..b576c60d86 100644
--- a/runtime/doc/quickfix.txt
+++ b/runtime/doc/quickfix.txt
@@ -1,4 +1,4 @@
-*quickfix.txt* For Vim version 7.3. Last change: 2010 Jul 20
+*quickfix.txt* For Vim version 7.3. Last change: 2010 Oct 20
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -546,6 +546,14 @@ descriptors when searching many files. However, when the |:hide| command
modifier is used the buffers are kept loaded. This makes following searches
in the same files a lot faster.
+Note that |:copen| (or |:lopen| for |:lgrep|) may be used to open a buffer
+containing the search results in linked form. The |:silent| command may be
+used to suppress the default full screen grep output. The |:grep!| form of
+the |:grep| command doesn't jump to the first match automatically. These
+commands can be combined to create a NewGrep command: >
+
+ command! -nargs=+ NewGrep execute 'silent grep! <args>' | copen 42
+
5.1 using Vim's internal grep