On Sun, Oct 27, 2019 at 7:00 PM Bram Moolenaar <b...@moolenaar.net> wrote:
>
>
> I wrote:
>
> > Patch 8.1.2226
> > Problem:    Cannot use system copy/paste in non-xterm terminals.
> > Solution:   Instead of setting 'mouse' to "a" set it to "nvi" in 
> > defaults.vim.
> > Files:            runtime/defaults.vim, runtime/doc/term.txt,
> >             runtime/doc/options.txt
>
> Please review this change.  It's supposed to help for those users who
> get the default setup, thus sourcing defaults.vim.  Some users
> complained that this makes it impossible to select text using the system
> clipboard, e.g. when using tmux or ssh.  On the other hand, new users
> enjoy having the mouse enabled by default, instead of having to figure
> out how to make that work.  Thus I didn't want to remove setting 'mouse'
> by default.
>
> The new value for 'mouse' is a compromise: The mouse works in Normal,
> Visual and Insert mode, where it's most useful.  In command-line mode
> the mouse is not used by Vim, which means you can use the system
> copy/paste mechanism.  That way you can also copy/paste text in Vim
> itself, instead of using the modeless selection. The only thing that no
> longer works is moving the cursor in the command line with the mouse.
> Which is a small price to pay.
>
> I had been using ":sh" for this, but if I forget to type "exit" than I
> have a Vim running in the background.  Now it's just typing ":",
> selecting and copying the text, then press Esc.
>
> I hope this works best for most people.  Can't please everyone though.

Haven't compiled this yet. Can you still copy stuff from the
command-line by using Ctrl-Y in a modeless selection?


Best regards,
Tony.

-- 
-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXsCtf3x%3DdER3MsT3%3D0r9nmGKw%2Bcv1OdknJ58o%2BznVYqkA%40mail.gmail.com.

Raspunde prin e-mail lui