help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs (in terminal): keeping clipboard synchronized with the system


From: Miles Bader
Subject: Re: Emacs (in terminal): keeping clipboard synchronized with the system global one?
Date: Mon, 09 Mar 2009 08:13:32 +0900

Hugo Heden <hugoheden@gmail.com> writes:
> (global-set-key "\C-w" 'clipboard-kill-region)
> (global-set-key "\M-w" 'clipboard-kill-ring-save)
> (global-set-key "\C-y" 'clipboard-yank)

These rebindings are not necessary either -- you can merely do:

   (setq x-select-enable-clipboard t)

Which will make the standard bindings use the clipboard
(all clipboard-kill-region etc do is call the standard commands with
x-select-enable-clipboard bound to t).

-Miles

-- 
Politeness, n. The most acceptable hypocrisy.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]