Little tool to support glob for fzf-lua in nvim
- Clone the project
- Build: if you prefer Golang:
go build
. If you prefer Rustcargo build --release
- Copy
vimrg
to your PATH
- Install fzf-lua
- Use
:lua require('fzf-lua').live_grep({ cmd = "vimrg" })
to open the fzf live_grep supporting globs
Find myservice
in all files
vimrg myservice
Find myservice
in test files
vimrg *test* > myservice
Find myservice
in non-test files
vimrg !*test* > myservice
Find myservice
in non-test controller files
vimrg !*test* *controller* > myservice
Find myservice
not in /test/
directories
vimrg !*/test/* > myservice
Remove vimrg
from the CLI syntax