-
Notifications
You must be signed in to change notification settings - Fork 105
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
C-y doesn't paste from Windows clipboard #4
Comments
I think it is an expected behaviour since Yank in vscode-emacs (and also other emacs) use its own clipboard buffer. |
@alexeiz The shortcut to paste from Windows clipboard is 'Shift+Insert' 😉 |
I don't like the separation either. Can't we merge with the system clipboard? |
@artagnon If you really want to get rid of the "Kill ring": {
"key": "alt+w",
"command": "editor.action.clipboardCopyAction",
"when": "editorTextFocus"
},{
"key": "ctrl+w",
"command": "editor.action.clipboardCutAction",
"when": "editorTextFocus"
},{
"key": "ctrl+y",
"command": "editor.action.clipboardPasteAction",
"when": "editorTextFocus"
} This should do the trick. |
I already have those overrides (Ctrl+k is an annoyance), and no: there's a better way to implement the kill-ring. Simply write to both the system clipboard and a private clipboard. When Alt+y is invoked, open a QuickPick showing the contents of the kill ring that I can fuzzy match against (just like anything else). |
The fuzzy paste could be of interest for some people so you should definitely make an extension on your own with it. And pull request it to @hiro-sun if you want. |
Addressing hiro-sun#4 and hiro-sun#38 Removed the kill ring implementation (which was not on parity with emacs anyway). The cut/paste/copy commands now only deal with the system clipboard, no separate kill ring. Using the copy-paste module for handling the clipboard, as recommended in multiple issues on vscode repo (microsoft/vscode#6994 and various others).
On Windows, C-y doesn't paste from the clipboard. Since C-v is taken, there is no other way to paste from the clipboard.
The text was updated successfully, but these errors were encountered: