From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: cua-mode overrides my C-z setting. How fix?
Date: Wed, 10 Dec 2008 22:59:13 -0700 [thread overview]
Message-ID: <ghqa79$dc0$1@ger.gmane.org> (raw)
In-Reply-To: <32ebc7eb-973e-4cdd-9f56-ae1621140338@w1g2000prk.googlegroups.com>
seberino@spawar.navy.mil wrote:
> I defined C-z to execute some commands like so:
>
> (global-set-key "\^z" (make-sparse-keymap))
> (global-set-key "\^zt" 'dired-other-window)
>
> I noticed this doesn't work anymore when CUA mode is enabled.
>
> How fix? (Can I just override this single mod of cua-mode and keep the
> rest of cua-mode? :)
Sort of:
,----[ C-h v cua-enable-cua-keys RET ]
| 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.
|
| [back]
`----
So if you set that to `shift', you should be able to use C-z as you
wish but you'll have to use C-S-x, C-S-c, and C-S-v for cut, copy, and
paste.
--
Kevin Rodgers
Denver, Colorado, USA
next prev parent reply other threads:[~2008-12-11 5:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 21:58 cua-mode overrides my C-z setting. How fix? seberino
2008-12-11 3:53 ` Xah Lee
2008-12-11 5:59 ` Kevin Rodgers [this message]
2008-12-11 14:29 ` Scott Frazer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ghqa79$dc0$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.