News for hackers. Stuff that matters.
Re:Intermediate Vim by mooreds on Wednesday May 01, 2019 @11:33AM (#19798026)
How do you escape the & character? I have been bit by this (not escaping &) a few times but never enough to have found the answer.
Re:Intermediate Vim by Asooka on Wednesday May 01, 2019 @12:00PM (#19798379)
The same way you escape anything - with a \. E.g. if you wanted to substitute the character x with the sequence &/\ you would type

:s/x/\&\/\\