Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
I would like to replace all backslash followed by a 'n' in vim. Like:
:%s/\\n//g will simply remove every instance of \n.
:%s/\\n/(something else)/g will replace every instance of \n with (something else).
Required, but never shown