Vim 8.0 is pretty rad, and has some incredible new features! Unfortunately, it broke one of my common workflows, when copying and pasting text into a document.
From a Windows 10 Anniversary Update client ...
i
to change into Insert modeUnfortunately, when I right-click in the PuTTY session, rather than pasting clipboard contents, what's actually happening is that Vim is going from INSERT
mode to (insert) VISUAL
mode. I don't think I've ever seen anything like this before. Does anyone know why this is happening, and how I can paste my Windows client clipboard into the SSH / Vim session?
Cheers,
Trevor Sullivan
Docker Captain
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
Doing a right-click in Putty causes it to send the contents of the clipboard to the remote server, that is, to Vim which is in insert mode because you used "i". It sounds like a Putty config problem, or something weird in the clipboard.
In Putty, rather than doing a right-click, try typing Shift-Insert which should have the same effect. What happens?
John
Check your 'mouse'
setting with :set mouse?
.
If you include vimrc_example.vim
from your .vimrc
, the setting of 'mouse'
will be changed after Vim 8.
FYI, Shift+Ins
might be also used to paste on PuTTY.
Closed #1188.
I am wondering if this is a bug was by design in VIM 8? The same is happening via Fedora 25. When right clicking it put you into visual mode. The only fix is to add set mouse-=a or set mouse= to .vimrc
A couple years later ... I ran into this same issue again, and SHIFT + INSERT
works perfectly as well. Thanks again.
this helped me in 2020 ;-) thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
this helped me in 2020 ;-) thanks
and now me in 2021! :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
and it still helps :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
It still helped me in 2010
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
you made my day! Thank you
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub.
cheers from 2023!
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.