jremmen / vim-ripgrep

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

Escaping Command-line special characters '#', '%' and '|' #66

Open lbrayner opened 1 year ago

lbrayner commented 1 year ago

So that seaches like :Rg matchit\# $VIMRUNTIME are possible.

Escaping theses characters is necessary because :grep is a Command-line command after all, therefore '#' is a special character and is replaced with the alternate filename.