Re: issue subtituting new lines

2020-05-19 Thread Ken Takata
Hi, 2020/5/20 Wed 6:58:58 UTC+9 Eli the Bearded wrote: > > Christian Brabandt > wrote: > > On Di, 19 Mai 2020, Eli the Bearded wrote: > >> And that would look like this in vi, nvi, and vim up until recently: > >> :%s/%%/^M/g > >> On the versions that break that, it instead looks like this: >

Re: issue subtituting new lines

2020-05-19 Thread Eli the Bearded
Christian Brabandt wrote: > On Di, 19 Mai 2020, Eli the Bearded wrote: >> And that would look like this in vi, nvi, and vim up until recently: >> :%s/%%/^M/g >> On the versions that break that, it instead looks like this: >> :%s/%%/^[[27;5;109~/g > A feature or a bug i suppose. What you are

Re: issue subtituting new lines

2020-05-19 Thread Christian Brabandt
On Di, 19 Mai 2020, Eli the Bearded wrote: > I use several versions of vim throughout the day, all inside xterms, and > some inside tmux running in an xterm. Some versions of vim I have > noticed break my long standing way of adding newlines in a :s/// > substitute command. > > To make all %%

issue subtituting new lines

2020-05-19 Thread Eli the Bearded
I use several versions of vim throughout the day, all inside xterms, and some inside tmux running in an xterm. Some versions of vim I have noticed break my long standing way of adding newlines in a :s/// substitute command. To make all %% sequences turn into a new line, what I'd type is: colon