Is there any alternative in vim search and replace for strings, than having to escape every special character in string.
For example, If I want to match following string and replace with something
[ERROR] Login unsucessful
Then I have to do
:%s/\[ERROR\]\ Login\ unsucessful/something/g
And it becomes lot more uglier and painful for complex strings containing lot of special characters
I would like to do something like
:%s/"[ERROR] Login unsucessful"/something/g
which would avoid all escaping. Is there any feature like this?