How to insert newlines in vim?
For example in a file containing
test-classes; classes; xmlunit-1.3.jar
I am looking for the vim equivalent of sed command
sed -i 's/; /\n/g' classpath
test-classes classes xmlunit-1.3.jar
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community