1

Re: search and replace carriage return

Hi all,

I'm searching how to do a replace with a carriage return

i'd like to replace:
abc;def;ghi
with:
abc;
def;
ghi

i select the line using shift-V
but then?
:'<,'>s/;/;what_do_I_put_here/g


thanks,
sotto

2

Re: search and replace carriage return

:'<,'>s/;/;\r/g

3

Re: search and replace carriage return

thanks ... !

*wondering why i didn't figure this out myself*