Copying text outside of Vim with set mouse=a enabled

后端 未结 14 824
陌清茗
陌清茗 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:27

    In ESC mode, when set mouse=a, select the text using mouse. This would enable the visual mode in vim. Then you can press 'y' to yank the selected text and 'p' to paste it wherever you want. This happens only within vim.

提交回复
热议问题