dkprice / vim-easygrep

Fast and Easy Find and Replace Across Multiple Files
The Unlicense
325 stars 47 forks source link

Add a way to set the default program #72

Open dylan-chong opened 6 years ago

dylan-chong commented 6 years ago

So i dont have to call :GrepProgram ag every time i restart vim

bcl commented 6 years ago

You can work around this by adding this to your .vimrc

let g:EasyGrepCommand="ag"

(my previous attempt missed the fact that EasyGrepCommand is looked up in the registered list if it is not 0 or 1)

dylan-chong commented 6 years ago

Nice. would be cool to see that added to the docs