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.

-- 
It doesn't really matter what you are able to do if you don't do it.
                                (Bram Moolenaar)

 /// Bram Moolenaar -- b...@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_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/201910271800.x9RI09Sl019932%40masaka.moolenaar.net.

Raspunde prin e-mail lui