21 December 2021

How to change a one-row text into multiple rows in vim?

How to change a one-row text into multiple rows in vim?

:%s/; /\r/g

The above command replaces '; ' with \r (carriage return)

No comments:

Post a Comment