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

Proposal: Make the xclipboard layer to use system clipboard for copy/paste #16745

Open
xuhdev opened this issue Dec 22, 2024 · 0 comments
Open

Comments

@xuhdev
Copy link
Contributor

xuhdev commented Dec 22, 2024

Currently, the xclipboard layer provides spacemacs/xclipboard-copy and
spacemacs/xclipboard-paste for copying and pasting the active region. But I think
things can become more useful if we make the layer to copy/paste from the
clipboard by default with a function to switch it on/off, for all kinds of
copying/pasting.

I have a small script that works with wayland: https://gist.github.com/yorickvP/6132f237fbc289a45c808d8d75e0e1fb?permalink_comment_id=5345689#gistcomment-5345689

In a nutshell, it replaces interprogram-cut-function and
interprogram-paste-function to make use of the external clipboard program. It
should be easily adaptable to other commands.

What do you think?

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

No branches or pull requests

1 participant