add new chinese translations
This commit is contained in:
33
pages.zh/common/vgrep.md
Normal file
33
pages.zh/common/vgrep.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# vgrep
|
||||
|
||||
> 一个用户友好的grep分页器。
|
||||
> 另见:`ugrep`,`rg`。
|
||||
> 更多信息:<https://github.com/vrothberg/vgrep>。
|
||||
|
||||
- 递归搜索当前目录中的模式并缓存结果:
|
||||
|
||||
`vgrep {{search_pattern}}`
|
||||
|
||||
- 显示缓存的内容:
|
||||
|
||||
`vgrep`
|
||||
|
||||
- 在默认编辑器中打开缓存中的“第4”个匹配项:
|
||||
|
||||
`vgrep --show {{4}}`
|
||||
|
||||
- 为缓存中的每个匹配项显示“3”行的上下文:
|
||||
|
||||
`vgrep --show=context{{3}}`
|
||||
|
||||
- 显示树中每个目录的匹配项数量:
|
||||
|
||||
`vgrep --show=tree`
|
||||
|
||||
- 显示树中每个文件的匹配项数量:
|
||||
|
||||
`vgrep --show=files`
|
||||
|
||||
- 启动一个交互式shell,显示缓存的匹配项:
|
||||
|
||||
`vgrep --interactive`
|
Reference in New Issue
Block a user