[GH-ISSUE #2364] vim无法使用"+y复制到系统剪切板 #1512

Closed
opened 2026-02-27 00:03:50 +03:00 by kerem · 1 comment
Owner

Originally created by @GeorgeMing on GitHub (Jan 27, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2364

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version(版本号):

v1.17.26

Operating system(linux, macos, or windows7/8/10?)(操作系统):

windows10

Steps to Reproduce(复现步骤)

1.使用vim --version | grep "clipboard"确保clipboard前面是+号
2.打开vim,在VISUAL模式下选中文本再按下"+y
3.在vim中输入:reg命令发现复制的文本没有放到vim的+寄存器中
image

使用mobaxterm等其他工具则可以
image

Originally created by @GeorgeMing on GitHub (Jan 27, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2364 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version(版本号): v1.17.26 ## Operating system(linux, macos, or windows7/8/10?)(操作系统): windows10 ## Steps to Reproduce(复现步骤) <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1.使用vim --version | grep "clipboard"确保clipboard前面是+号 2.打开vim,在VISUAL模式下选中文本再按下"+y 3.在vim中输入:reg命令发现复制的文本没有放到vim的+寄存器中 ![image](https://user-images.githubusercontent.com/26051686/151281352-30609bf9-54e0-445c-a3b7-d63fa3ffedd0.png) 使用mobaxterm等其他工具则可以 ![image](https://user-images.githubusercontent.com/26051686/151282439-bf836ef4-920a-488b-bfb1-d0f53dfdef55.png)
kerem closed this issue 2026-02-27 00:03:50 +03:00
Author
Owner

@GeorgeMing commented on GitHub (Jan 27, 2022):

在设置中打开x11可解决该问题
image

<!-- gh-comment-id:1022811986 --> @GeorgeMing commented on GitHub (Jan 27, 2022): 在设置中打开x11可解决该问题 ![image](https://user-images.githubusercontent.com/26051686/151286514-3a7e7df7-b3d0-4fa6-88a6-fbd4bc5d8341.png)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1512
No description provided.