gvim: Easy copying into system clipboard

后端 未结 5 463
庸人自扰
庸人自扰 2021-02-03 23:37

I am using gVim on Ubuntu 10.10. I want to copy (yank) text to the system clipboard, so that the copied text is available in other applications.

This works with \"

5条回答
  •  故里飘歌
    2021-02-03 23:45

    Select some text in visual mode and it will be inserted into the system clipboard (the one where you middle-click to paste, I cannot recall the exact name).

    If you set mouse=a you can use the mouse for visual selection like you would in many other applications.

提交回复
热议问题