Skip to content

Right-click pasting from PuTTY on Windows 10 #1188

@pcgeek86

Description

@pcgeek86

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.

Typical Scenario

From a Windows 10 Anniversary Update client ...

  • Open a web browser, copy / paste some text from a website (eg. GitHub)
  • Use PuTTY 0.67 to SSH to a Linux VM (eg. Ubuntu 16 Xenial Xerus)
  • Open a file in Vim
  • Hit i to change into Insert mode
  • Right-click to paste the clipboard contents

Issue Description

Unfortunately, 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?

image

Cheers,
Trevor Sullivan
Docker Captain
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions