[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs (in terminal): keeping clipboard synchronized with the system
From: |
Hugo Heden |
Subject: |
Re: Emacs (in terminal): keeping clipboard synchronized with the system global one? |
Date: |
Tue, 10 Mar 2009 21:22:56 +0100 |
On Mon, Mar 9, 2009 at 12:13 AM, Miles Bader <miles@gnu.org> wrote:
> 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).
>
Ah, thanks Miles, that seems cleaner.
Hugo Heden