mhinz / vim-grepper

:space_invader: Helps you win at grep.
MIT License
1.22k stars 58 forks source link

On converting regex, escape special character that is literal but special when escaped in Vim regex #224

Open Konfekt opened 4 years ago

Konfekt commented 4 years ago

If g:grepper.searchreg is set and grepper-tools-keys.escape contains a character which in a magic Vim regex is literal but special when escaped, for example {, then escape this character when changing to a Vim regexp (as documented by :help g:grepper.searchreg).

PS: As the submitted issues tell, I am an avid user of this helpful plug-in, thank you!