how to paste to vim when using putty

前端 未结 5 785
半阙折子戏
半阙折子戏 2021-01-30 10:26

I am using putty to connect a remote host and editing via vim. I meet a trouble when I try to paste something to vim. That\'s, I copy something to clipboard in my local host and

5条回答
  •  失恋的感觉
    2021-01-30 10:32

    In Windows Subsystem for Linux it appears that you have to:

    1. i = to enter -- INSERT -- mode
    2. Shift-right-mouse-click = to paste

    If you just right-mouse-click (i.e. without shift) then annoyingly all that happens is that the mode changes to -- (insert) VISUAL -- i.e. it doesn't paste anything.

提交回复
热议问题