| Crates.io | zeitgrep |
| lib.rs | zeitgrep |
| version | 0.8.0 |
| created_at | 2025-04-27 18:45:58.304423+00 |
| updated_at | 2025-05-18 19:00:45.862137+00 |
| description | Find frecent results in git repositories using regular expressions |
| homepage | |
| repository | https://github.com/kantord/zeitgrep |
| max_upload_size | |
| id | 1651365 |
| size | 64,797 |
Search frecently‑edited lines of code in your Git repository, ranked by how often and how recently a file has changed.
zeitgrep is a grep-like command that allows you to search files in a Git repository. The results are sorted by a frecency score generate by frecenfile. It uses ripgrep as a search backend.
Unsorted grep results (
rg def | head
)
|
|---|
zeitgrep results (
zg def | head
)
|
|---|
Ripgrep‑style regex search over your Git repository
Results ranked by frecency using the frecenfile library.
Scalable to large repositories
cargo install zeitgrep
zg {regular expression}
telescope.nvimTo configure telescope.nvim to use zeitgrep for live grep, use the following:
require("telescope").setup {
defaults = {
vimgrep_arguments = {
"zg",
"--column",
"--color=never",
},
},
}
zg TODO --sort=asc