unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Markus Haider <markus.haider@student.uibk.ac.at>,
	emacs help <help-gnu-emacs@gnu.org>
Subject: Re: Using ergonomic shortcuts and cua mode
Date: Sat, 17 Apr 2010 15:54:45 +0200	[thread overview]
Message-ID: <j2le01d8a51004170654n5bebdc08pef64e1f1bfc2bdfa@mail.gmail.com> (raw)
In-Reply-To: <1271490463.2011.1.camel@james-desktop>

You could try binding ctl-x-map to a new key and removing it from Ctrl-X.


On Sat, Apr 17, 2010 at 9:47 AM, Markus Haider
<markus.haider@student.uibk.ac.at> wrote:
> Thank you very much, (define-key cua--cua-keys-keymap [(meta ?v)] nil)
> worked.
>
> Do you also know how I could move the C-x prefix to a different
> combination?
>
> Greetings,
> Markus
>
> Am Samstag, den 17.04.2010, 02:18 +0200 schrieb Lennart Borgman:
>> On Fri, Apr 16, 2010 at 3:17 PM, Markus Haider <markus.haider@uibk.ac.at> wrote:
>> > Hi,
>> >
>> > I use Emacs 23 with the ergonomic shortcuts
>> > http://xahlee.org/emacs/ergonomic_emacs_keybinding.html
>> > However, when I also use cua-mode at the same time, M-v gets bound to
>> > cua-repeat-replace-region. Is there a way to keep M-v bound to yank?
>> >
>> > One possible solution would be to work without cua-mode, and I could
>> > manually define the shortcuts C-c, C-v, C-x. However I cannot change C-x
>> > via global-set-key as it is a prefix. I would not mind to move the
>> > Control-X-prefix to another key, but I don't know how to do it...
>>
>> I think you can undefine M-v in the cua keymap where it is defined, like this:
>>
>> (define-key cua--cua-keys-keymap [(meta ?v)] nil)
>>
>>
>> Tip: In nXhtml there is a modified version of the normal "C-h c" help
>> that shows the key binding + the key map where it is bound. This
>> latter is a guess, but most of the time it is correct. I bind this
>> command to "f1 c":
>>
>>   <f1> c runs the command describe-key-and-map-briefly, which is an
>>   interactive compiled Lisp function in `ourcomments-util.el'.
>>
>>
>
>
>




      parent reply	other threads:[~2010-04-17 13:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-16 13:17 Using ergonomic shortcuts and cua mode Markus Haider
2010-04-17  0:18 ` Lennart Borgman
     [not found]   ` <1271490463.2011.1.camel@james-desktop>
2010-04-17 13:54     ` Lennart Borgman [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=j2le01d8a51004170654n5bebdc08pef64e1f1bfc2bdfa@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=markus.haider@student.uibk.ac.at \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).