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
You are not logged in. Please login or register.
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
:'<,'>s/;/;\r/g
thanks ... !
*wondering why i didn't figure this out myself*
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.
[ Generated in 0.026 seconds, 9 queries executed ]