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

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

Re: unassigning cntl-Z in cua mode


From: Stuart McGraw
Subject: Re: unassigning cntl-Z in cua mode
Date: Sun, 22 Mar 2015 22:59:36 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 03/22/2015 10:55 PM, Drew Adams wrote:
(global-unset-key (kbd "C-z")) might do the trick ....

That doesn't sound too good.

I don't use CUA mode (never have), but looking around a little
gives me the impression that you can just customize this option
to nil: `cua-enable-cua-keys'.

,----
| cua-enable-cua-keys is a variable defined in `cua-base.el'.
| Its value is t
|
| Documentation:
| Enable using C-z, C-x, C-c, and C-v for undo, cut, copy, and paste.
| If the value is t, these mappings are always enabled.  If the value is
| `shift', these keys are only enabled if the last region was marked with
| a shifted movement key.  If the value is nil, these keys are never
| enabled.
|
| You can customize this variable.
`----

But I don't want to disable all of them, just ctrl-z.





reply via email to

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