Terminal UI grep tool built with Bubble Tea + Lip Gloss.
go install github.com/tspython/tgrep@latestMake sure your Go bin directory is in PATH:
export PATH="$PATH:$(go env GOPATH)/bin"tgrepThis repo includes a lightweight Neovim plugin wrapper.
lazy.nvim example:
{
"tspython/tgrep",
config = function()
require("tgrep").setup({
bin = "tgrep",
border = "rounded",
width = 0.92,
height = 0.88,
})
vim.keymap.set("n", "<leader>fg", "<cmd>Tgrep<cr>", { desc = "Open tgrep" })
end,
}Commands:
:Tgrepopens in a floating terminal using the active Neovim cwd.:tgrepalso works (command-line abbreviation to:Tgrep).:Tgrep /path/to/projectopens with an explicit cwd.
Releases are automated with GoReleaser via GitHub Actions.
- Commit and push to
main. - Create and push a version tag:
git tag v0.1.0
git push origin v0.1.0- GitHub Action
.github/workflows/release.ymlpublishes binaries to GitHub Releases.
Release config is in .goreleaser.yaml.