diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-21 19:22:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-21 19:22:23 +0200 |
commit | 8c5e0093c9badced73e382915fb024a5c3ea463b (patch) | |
tree | e5c270ef7d21ec68c457f7e26e572a99f11f2352 /runtime/doc/quickfix.txt | |
parent | 2f0f871159b2cba862fcd41edab65b17da75c422 (diff) |
patch 8.1.0311: filtering entries in a quickfix list is not easyv8.1.0311
Problem: Filtering entries in a quickfix list is not easy.
Solution: Add the cfilter plugin. (Yegappan Lakshmanan)
Diffstat (limited to 'runtime/doc/quickfix.txt')
-rw-r--r-- | runtime/doc/quickfix.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 1399d8bed4..211fe96117 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1551,6 +1551,22 @@ The backslashes before the pipe character are required to avoid it to be recognized as a command separator. The backslash before each space is required for the set command. + *cfilter-plugin* +If you have too many matching messages, you can use the cfilter plugin to +reduce the number of entries. Load the plugin with: > + packadd cfilter + +Then you can use these command: > + :Cfilter[!] {pat} + :Lfilter[!] {pat} + +:Cfilter creates a new quickfix list from entries matching {pat} in the +current quickfix list. Both the file name and the text of the entries are +matched against {pat}. If ! is supplied, then entries not matching {pat} are +used. + +:Lfilter does the same as :Cfilter but operates on the current location list. + ============================================================================= 8. The directory stack *quickfix-directory-stack* |