Skip to content
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

an option to use system clipboard #537

Closed
ianeiko opened this issue Jul 29, 2016 · 4 comments
Closed

an option to use system clipboard #537

ianeiko opened this issue Jul 29, 2016 · 4 comments

Comments

@ianeiko
Copy link

ianeiko commented Jul 29, 2016

Thanks for all the tremendous work!

I'm wondering if it's possible to add an option similar to Sublime's Vintageous "vintageous_use_sys_clipboard" mode.

Basically, the desire is to yank and paste from system clipboard and not a separate vim-only clipboard.

Thanks ahead!

@johnfn
Copy link
Member

johnfn commented Jul 29, 2016

I like the idea.

@rebornix is this possible currently?

@johnfn
Copy link
Member

johnfn commented Jul 29, 2016

(Currently you can use cmd-c and cmd-v or their windows equivalents to access the system clipboard within insert mode.)

@rebornix
Copy link
Member

@johnfn clipboard is a system stuff and we don't want to wrap it again in Code, see microsoft/vscode#217 .

But we can still leverage third party npm modules to handle the clipboard. I like it as well, using sys_clipboard to cache register is fun sometimes.

@rebornix
Copy link
Member

@jneiku , @aminroosta already added support for system clipboard via #543. I'd like to close it for now as what @aminroosta added is a native Vim approach. Please give it a try and see how it's going then let's see if we need reopen this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants