Sung Pae wrote:

> Currently, when `putting' from the "* and "+ registers, the register is
> always pasted as MCHAR if it has been returned from the X clipboard.
> 
> However, vim convention implies that any string that ends in a \n or \r
> should be expected to be behave like a linewise yank (see MAUTO).
> 
> Since it is easy in most GUI programs to explicitly make linewise
> selections (typically via triple-click), this small patch marks strings
> requested from the X clipboard as MLINE if they end in a NL or CR
> character.
> 
> This is a very cheap operation.

Thanks for the patch.

If I understand it correctly, this is only for when pasting text from
other applications, not from another Vim.

I would appreciate feedback from others, does this work as you would
expect?

-- 
I wonder how much deeper the ocean would be without sponges.

 /// Bram Moolenaar -- [email protected] -- 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_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

Raspunde prin e-mail lui