-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All the content of the neovim register is automatically copied to the system clipboard, and the number and Chinese display is garbled #762
Comments
It's vim default behaviorl, not bug. Because The better solution what I can think of is revert to use What do you think? @CharlesChiuGit |
ys, vim will send things to register after For the invalid characters part, I think it needs further investigation, cause the number shouldn't have UTF-8 encoding issues. @darkwilldie can u try:
Also please make sure everything is up-to-date, including Windows updates and wsl updates, etc. |
I found a related issue. |
Temp work around for you @darkwilldie : vim.g.clipboard = {
name = "win32yank-wsl",
copy = {
["+"] = "win32yank.exe -i --crlf",
["*"] = "win32yank.exe -i --crlf",
},
paste = {
["+"] = "win32yank.exe -o --lf",
["*"] = "win32yank.exe -o --lf",
},
cache_enabled = 0,
} |
Replaced with Wezterm, the problem remains the same, so I believe this issue is unrelated to windows terminal |
|
well, I reset Win32yank and now it works fine. |
Version confirmation
Following prerequisites
Neovim version
NVIM v0.10.0-dev
Operating system/version
wsl2
Terminal name/version
window terminal
$TERM environment variable
xterm-256color
Branch info
main (Default/Latest)
Fetch Preferences
SSH (use_ssh = true)
How to reproduce the issue
Everytime entering nvim, not only the command of "yy" will automatically connect to the system clipboard, but also "dd".The displayment of numbers can be
and Chinese characters can be
Expected behavior
I hope it can display properly.
Actual behavior
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: