find & insert new line with VIM
paul
posted @ Sat, 10 Oct 2009 19:52:13 +0800
in coding life
with tags
vim
, 2207 readers
:%s/$/\rthis is a new line/g
\r is the new line character in VIM.
This work is licensed under a Creative Commons Attribution 3.0 Unported License.