Thursday, September 19, 2013

Re: block mode paste feature

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?

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.


--
Get a life? What is the URL where it can be downloaded?

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: