Mercurial > vim
comparison runtime/doc/quickfix.txt @ 24547:192058cad081 v8.2.2813
patch 8.2.2813: cannot grep using fuzzy matching
Commit: https://github.com/vim/vim/commit/bb01a1ef3a093cdb36877ba73474719c531dc8cb
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Mon Apr 26 21:17:52 2021 +0200
patch 8.2.2813: cannot grep using fuzzy matching
Problem: Cannot grep using fuzzy matching.
Solution: Add the "f" flag to :vimgrep. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8152)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 26 Apr 2021 21:30:04 +0200 |
parents | 5b37a0bf7e3a |
children | e3ec2ec8841a |
comparison
equal
deleted
inserted
replaced
24546:eb6c05ae77f9 | 24547:192058cad081 |
---|---|
1006 | 1006 |
1007 | 1007 |
1008 5.1 using Vim's internal grep | 1008 5.1 using Vim's internal grep |
1009 | 1009 |
1010 *:vim* *:vimgrep* *E682* *E683* | 1010 *:vim* *:vimgrep* *E682* *E683* |
1011 :vim[grep][!] /{pattern}/[g][j] {file} ... | 1011 :vim[grep][!] /{pattern}/[g][j][f] {file} ... |
1012 Search for {pattern} in the files {file} ... and set | 1012 Search for {pattern} in the files {file} ... and set |
1013 the error list to the matches. Files matching | 1013 the error list to the matches. Files matching |
1014 'wildignore' are ignored; files in 'suffixes' are | 1014 'wildignore' are ignored; files in 'suffixes' are |
1015 searched last. | 1015 searched last. |
1016 Without the 'g' flag each line is added only once. | 1016 Without the 'g' flag each line is added only once. |
1057 pattern must start with an ID character. | 1057 pattern must start with an ID character. |
1058 Example: > | 1058 Example: > |
1059 :vimgrep Error *.c | 1059 :vimgrep Error *.c |
1060 < | 1060 < |
1061 *:lv* *:lvimgrep* | 1061 *:lv* *:lvimgrep* |
1062 :lv[imgrep][!] /{pattern}/[g][j] {file} ... | 1062 :lv[imgrep][!] /{pattern}/[g][j][f] {file} ... |
1063 :lv[imgrep][!] {pattern} {file} ... | 1063 :lv[imgrep][!] {pattern} {file} ... |
1064 Same as ":vimgrep", except the location list for the | 1064 Same as ":vimgrep", except the location list for the |
1065 current window is used instead of the quickfix list. | 1065 current window is used instead of the quickfix list. |
1066 | 1066 |
1067 *:vimgrepa* *:vimgrepadd* | 1067 *:vimgrepa* *:vimgrepadd* |
1068 :vimgrepa[dd][!] /{pattern}/[g][j] {file} ... | 1068 :vimgrepa[dd][!] /{pattern}/[g][j][f] {file} ... |
1069 :vimgrepa[dd][!] {pattern} {file} ... | 1069 :vimgrepa[dd][!] {pattern} {file} ... |
1070 Just like ":vimgrep", but instead of making a new list | 1070 Just like ":vimgrep", but instead of making a new list |
1071 of errors the matches are appended to the current | 1071 of errors the matches are appended to the current |
1072 list. | 1072 list. |
1073 | 1073 |
1074 *:lvimgrepa* *:lvimgrepadd* | 1074 *:lvimgrepa* *:lvimgrepadd* |
1075 :lvimgrepa[dd][!] /{pattern}/[g][j] {file} ... | 1075 :lvimgrepa[dd][!] /{pattern}/[g][j][f] {file} ... |
1076 :lvimgrepa[dd][!] {pattern} {file} ... | 1076 :lvimgrepa[dd][!] {pattern} {file} ... |
1077 Same as ":vimgrepadd", except the location list for | 1077 Same as ":vimgrepadd", except the location list for |
1078 the current window is used instead of the quickfix | 1078 the current window is used instead of the quickfix |
1079 list. | 1079 list. |
1080 | 1080 |