Open sihunqu123 opened 3 years ago
Config:
let g:grepper = { \ 'grep': { \ 'grepprg': 'grep -Rn $* .' \ }, \ 'grepI': { \ 'grepprg': 'grep -Rni $* .' \ }, \ 'grepFile': { \ 'grepprg': 'grep -Rni $* $.' \ }, \ 'tools': ['grep', 'grepI', 'grepFile'] \}
Then in vim: to grep case-sensetive
:Grepper -tool grep -quickfix -highlight
to grep case-insensetive
:Grepper -tool grepI -quickfix -highlight
Config:
Then in vim: to grep case-sensetive
to grep case-insensetive