Re: Insert non-rectangular selection

2021-05-30 Fir de Conversatie Bram Moolenaar
Charles Campbell wrote: > Maxim Kim wrote: > > > > > > like a `zp` command, that does not add any trailing spaces. > > > > > > Btw if you paste at the end of the `;text` no trailing spaces would be > > added. > > > Well, that messes with my own zp and zP maps, but no problem. I've also >

Re: Insert non-rectangular selection

2021-05-30 Fir de Conversatie Charles Campbell
Maxim Kim wrote: like a `zp` command, that does not add any trailing spaces. Btw if you paste at the end of the `;text` no trailing spaces would be added. Well, that messes with my own zp and zP maps, but no problem. I've also overridden p and P with them, so I can just eliminate zp

Re: Insert non-rectangular selection

2021-05-30 Fir de Conversatie Christian Brabandt
On Do, 27 Mai 2021, Bram Moolenaar wrote: > > Christian wrote: > > > On Di, 25 Mai 2021, Andre Tann wrote: > > > > > Hi all, > > > > > > I repeatedly have the following situation, and wonder how it can be > > > handled > > > better than I do it now. These lines must be merged > > > > > >

Re: Insert non-rectangular selection

2021-05-28 Fir de Conversatie Maxim Kim
пятница, 28 мая 2021 г. в 10:42:17 UTC+3, Maxim Kim: > >> Here you can only yank a block including the spaces, and they would also >> be inserted with "zp". Perhaps we should also have a "zy" command to >> exclude the trailing spaces when yanking. I think that's better than >> having "zp"

Re: Insert non-rectangular selection

2021-05-28 Fir de Conversatie Maxim Kim
> > Here you can only yank a block including the spaces, and they would also > be inserted with "zp". Perhaps we should also have a "zy" command to > exclude the trailing spaces when yanking. I think that's better than > having "zp" drop spaces that were yanked. > > What about "zd" then?

Re: Insert non-rectangular selection

2021-05-28 Fir de Conversatie Maxim Kim
> > > like a `zp` command, that does not add any trailing spaces. > > Btw if you paste at the end of the `;text` no trailing spaces would be added. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more

Re: Insert non-rectangular selection

2021-05-27 Fir de Conversatie Bram Moolenaar
Christian wrote: > On Di, 25 Mai 2021, Andre Tann wrote: > > > Hi all, > > > > I repeatedly have the following situation, and wonder how it can be handled > > better than I do it now. These lines must be merged > > > > /path/subdir;text > > /path/longsubdir;text > >

Re: Insert non-rectangular selection

2021-05-27 Fir de Conversatie Christian Brabandt
On Di, 25 Mai 2021, Andre Tann wrote: > Hi all, > > I repeatedly have the following situation, and wonder how it can be handled > better than I do it now. These lines must be merged > > /path;text > /path;text > /path;text > > with these: > > /subdir > /longsubdir > /longlongsubdir > >