-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Use unnamed register while clipboard not exist #13813
Conversation
can you please make the following changes?
|
@chrisbra Sorry, I forgot to check the messages recently.
But why is "clipboard_working"? I looked at "feature-list", but only saw "clicpboard", and there is no "clipboard_working": And as I mentioned before, "some system clipboard is available", on these computers there did has the "clicpboard" register but no "clipboard_working" register. If I do change, it will cause the computers that "mswin.vim" can be effacted do not work anymore.
What register do you recommend I use? And my consideration for using the default registers is that if you copy text from another command (e.g. yy), you can also paste the copied text with ctrl-v. |
It is here: Line 11102 in 1af3563
you want to make sure the clipboard actually works (this matters when using vim over a remote connection).
Why use a register at all? If you don't specify a register it goes to the default one, right? And if you want to use a different register, you can simply use |
@chrisbra |
runtime(mswin): Use unnamed register when clipboard not working (vim/vim#13813) * Use unnamed register while clipboard not exist * Do not need to specify the unnamed register explicitly fixes: vim/vim#13809 vim/vim@d9ebd46 Co-authored-by: Shixian Li <34830785+znsoooo@users.noreply.github.com>
runtime(mswin): Use unnamed register when clipboard not working (vim/vim#13813) * Use unnamed register while clipboard not exist * Do not need to specify the unnamed register explicitly fixes: vim/vim#13809 vim/vim@d9ebd46 Co-authored-by: Shixian Li <34830785+znsoooo@users.noreply.github.com>
It only takes effect when the system clipboard is not available.
From issue: #13809