Copying text outside of Vim with set mouse=a enabled

后端 未结 14 821
陌清茗
陌清茗 2020-12-07 06:54

After enabling set mouse=a, text copied inside of Vim will not paste outside of Vim. Does anybody know of a way to fix this?

Here, selecting text with t

14条回答
  •  攒了一身酷
    2020-12-07 07:24

    You can use :set mouse& in the vim command line to enable copy/paste of text selected using the mouse. You can then simply use the middle mouse button or shiftinsert to paste it.

提交回复
热议问题