cshuaimin / ssr.nvim

Treesitter based structural search and replace plugin for Neovim.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Impossible to search for literal `$`

loqusion opened this issue · comments

If the string you want to search and replace contains a $, it seems there is currently no way to use ssr.nvim since $ is interpreted as a special character. This makes working with languages that make heavy use of $ such as php and bash quite cumbersome.

Perhaps we could implement some basic escape sequence, like \$? (\\ for literal backslash)