How do I insert a space + backslash at the end of the all lines in my Vim editor?
Asked
Active
Viewed 999 times
-4
-
Go to the end of the line, add space + backslash, go to the next line, add space + backslash, ... repeat. What was the problem? – mkrieger1 Jun 29 '21 at 08:53
-
1here you go: `:%s/$/ \\/g` – Yves Jun 29 '21 at 08:54
-
Or https://stackoverflow.com/questions/11303032/how-to-add-text-at-the-end-of-each-line-in-vim – mkrieger1 Jun 29 '21 at 08:55
-
What did you try? – romainl Jun 29 '21 at 09:00