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

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

Re: Rebinding commands that start with C-x and M-x


From: Emilio Lopes
Subject: Re: Rebinding commands that start with C-x and M-x
Date: Wed, 22 Aug 2007 21:24:44 +0200
User-agent: Emacs Gnus

Corey Foote writes:

> On the keyboard I use it is difficult to issue commands that begin
> with C-x and M-x, because the "x" key is difficult to reach while
> holding down Ctrl or Alt. It would be much more convenient if all
> such commands began with, say, C-c and M-c or perhaps with C-l or
> M-l, because these keys are much easier to reach. How do I rebind
> all of these commands to be invoked with a different keystroke?

For "C-x" you can do something like this:

   ;; additional "C-x" for a Dvorak keyboard layout
   (global-set-key (kbd "C-z") ctl-x-map)

The key combination "M-x" is bound to `execute-extended-command' by
default.  You can bind this command to any other key you want.

-- 
Emílio C. Lopes
Munich, Germany


reply via email to

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