1

I'm running spacemacs v.0.200.9 on emacs v.25.1.1, on macOS 10.11 and 10.12. And I'm not happy with how the clipboard works between the OS and emacs.

Here's the behaviour I'd expect:

  • [X] Cmd + c in the OS then Cmd + v in emacs pastes whatever was copied
  • [X] Cmd + c in emacs then Cmd + v in OS pastes whatever was copied
  • [ ] d or x in emacs does not copy to the OS clipboard

At the moment, any use of d or x in emacs (yes, this is evil) modifies the clipboard. I would like this behaviour to disappear. I would be ready to have special keys combos to copy from emacs or paste in emacs to achieve this.

  • 1
    @lawlist Thank you for your suggestion, I've amended the title to - hopefully - better reflect that it appears it's about shortcuts after all. – basbabybel Feb 16 '18 at 16:27
  • I can't quite tell from your question - do you want to keep the system clipboard separate from the kill ring? If so there's a good package for that. – mclear Feb 17 '18 at 6:51
  • @mclear this worked beautifully. If you want to pop it into a proper answer I will mark it as accepted. Thank you! – basbabybel Feb 20 '18 at 22:19
1

Simpleclip seems like what you need. From the docs: simpleclip-mode radically simplifies clipboard handling: the system clipboard and the Emacs kill ring are made completely independent, and never influence each other.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.