Skip to content

Instantly share code, notes, and snippets.

@dvorka
Created May 7, 2014 13:56
Show Gist options
  • Save dvorka/ea2c568e2d81746fd20c to your computer and use it in GitHub Desktop.
Save dvorka/ea2c568e2d81746fd20c to your computer and use it in GitHub Desktop.
Emacs to work with system clipboard @ Ubuntu
I had the same problem. I added this to my .emacs file:
(setq x-select-enable-clipboard t)
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)
Now Ctrl-C and Ctrl-v between Emacs and other applications work fine.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment