mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:30:03 +08:00
32 lines
998 B
Markdown
32 lines
998 B
Markdown
|
---
|
||
|
title: "FlyGrep in SpaceVim"
|
||
|
categories: feature
|
||
|
excerpt: "Run grep Asynchronously and on the fly as you type in SpaceVim, quick searching whole project or opened files."
|
||
|
image: https://user-images.githubusercontent.com/13142418/34907415-c2cf7e88-f843-11e7-92d3-ef0f9b1b72ae.gif
|
||
|
---
|
||
|
|
||
|
# Asynchronous grep on the fly in SpaceVim
|
||
|
|
||
|
FlyGrep means **grep on the fly**, it will update the result as you type. of caulse, it is running
|
||
|
asynchronously. before using this feature, you need to install a searching tool. FlyGrep can be
|
||
|
interfaced with different searching tools like: `ag`, `rg`, `ack`, `pt` and `grep`, select any one
|
||
|
you like.
|
||
|
|
||
|
With this feature, you can:
|
||
|
|
||
|
- Searching in current file
|
||
|
- Searching in all loaded buffers
|
||
|
- Searching in an arbitrary directory
|
||
|
- Searching in a project
|
||
|
- Background searching in a project
|
||
|
|
||
|
## Searching in current file
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
## Searching in all loaded buffers
|
||
|
## Searching in an arbitrary directory
|
||
|
## Searching in a project
|
||
|
## Background searching in a project
|