On Thu, September 19, 2013 17:00, Bram Moolenaar wrote: > > Christian Brabandt wrote: > >> On Do, 12 Sep 2013, shawn wilson wrote: >> >> > Can vim be made to DWIM here? I did a quick search and found I'm not >> the >> > only one who has run into this. For example: >> > http://briancarper.net/blog/341/ >> > >> > Just to re-explain what I want: when you visually select a block, you >> can >> > change or insert and it will change the block but when you paste a >> single >> > line buffer (I can see how this might get not be so simple for pasting >> > multiple lines) it only changes the first line. The "fix" of using C+R >> in >> > insert mode as was mentioned works, but the behavior isn't what I >> expect. >> >> Try the attached patch. > > I'm missing something here: How do you paste?
using 'p' or 'P'. It will only be repeated, if the pasted part is a characterwise and a single line. > These block operations have had bugs in the past. If we make changes in > this code it would be a good idea to at least have some basic tests. I can add a test. regards, Christian -- -- 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 information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.