Can I configure emacs
, so that I could copy/cut text from emacs (default Terminal version) and paste it somewhere else (into X Window program)?
Mac – Configure emacs to cut and copy text to Mac OS X clipboard
copy/pasteemacs
Related Question
- MacOS – Copy-Paste from Mac to Emacs of ubuntu
- Unable to cut from text edit and paste into terminal
- How to use Control or Command for Cut-Copy-Paste
- Make Ctrl-k in Terminal copy to the system clipboard
- IOS – How to copy and paste as plain text on iOS
- MacOS – `emacs` and `Emacs` start the same application
- MacOS – How copy text into Terminal command line zsh
Best Answer
To copy the current region to the OS X clipboard, you can use
The inverse, copying the OS X paste buffer to the Emacs kill ring, is not recommended. Kill rings and clipboards are very different structures and there's no good answer to what, exactly, pushing a clipboard into a kill ring should do. Still, you can run
pbpaste
manually to get the current clipboard contents.