jremmen / vim-ripgrep

Use RipGrep in Vim and display results in a quickfix list
MIT License
541 stars 99 forks source link

can't find symbols #45

Open eduardoarandah opened 4 years ago

eduardoarandah commented 4 years ago

Doesn't work: :Rg $block['className']

imagen

Bad results :Rg block['className']

imagen

Unrecognized :Rg block[\'className\'] imagen

This one works! :Rg \$block\['className'\] imagen

I guess this is because all searches are made as regex?

Can I suggest having two commands? like Rg to literal and Rgp for patterns?

it's hard to think on what needs to be escaped in regex all the time