Re: stretch, vim, cut and paste broken (and fix)
On Fri, Jun 30, 2017 at 10:36:52AM -0400, Dan Ritter wrote:
> That's nice. It doesn't actually work for the X cut and paste
> mechanism that I rely on, and it turns out that adding this
> to my .vimrc:
>
> set mouse=off
>
> or
>
> set mouse=""
>
> does not work.
That's odd. 'set mouse=' worked fine for me as an in-session fix and my
long-term fix was to create a file at /etc/vim/vimrc.local containing:
--- cut here ---
" Don't silently ignore these settings in favor of those in default.vim
let g:skip_defaults_vim = 1
" Middle-mouse should paste from system clipboard, NOT vim clipboard!
set mouse=
--- cut here ---
Guess I never tried it in my own .vimrc, though, so perhaps default.vim
is overriding that, then, in addition to vimrc.local.
--
Dave Sherohman
Reply to: