Copying stuff from vim running in putty

后端 未结 5 841
轮回少年
轮回少年 2020-12-13 10:01

I am running Vim 6.3 through putty and putty connection manager. I have the mouse option set (set mouse = a). I am able to paste things from the (windows) clipboard to vim b

相关标签:
5条回答
  • 2020-12-13 10:41

    set clipboard=unnamed or set mouse=c

    0 讨论(0)
  • 2020-12-13 10:47

    Hold down shift, and then highlight the text you want to copy using the left mouse button. When you release, the highlighted text should be in the Windows clipboard.

    0 讨论(0)
  • 2020-12-13 10:49

    You can select some text with the mouse and then type:
    "*y to yank the selected text to the clipboard, then you should be able to use the clipboard content in another application.

    if "*y is to cumbersome to type, you can put the following in host .vimrc
    :noremap y "*y

    0 讨论(0)
  • 2020-12-13 10:58

    Ctrl-Insert to copy, Shift-Insert to paste

    0 讨论(0)
  • 2020-12-13 11:03

    Do not use mouse=a.
    Put the mouse in commandline mode (:set mouse=c).
    Then you can just select your text to put it in the system clipboard (as with all other PUTTY/KITTY commands),

    0 讨论(0)
提交回复
热议问题