From: Xiaoyong Jin <tootiny@163.com>
Subject: Re: Using the `Win' key as `Ctrl' in Emacs?
Date: Fri, 18 Jun 2004 00:43:37 +0800 [thread overview]
Message-ID: <20040618004337.07e5e13a.tootiny@163.com> (raw)
In-Reply-To: f3bfc2fe.0406170131.54e3a545@posting.google.com
On 17 Jun 2004 02:31:54 -0700
rob@tenfoot.org.uk (Rob Walker) wrote:
> Xiaoyong Jin <tootiny@163.com> wrote in message
> news:<20040616222510.230014f5.tootiny@163.com>...
> > Hi, all!
> >
> > I'm now learning to use Emacs and I got a problem about
> > keyboard layout that my Compaq notepad only have one `Ctrl'
> > key on the left and which is so aweful that emacs use a lot of
> > key bindings with the `Ctrl' key.
> >
> > What I want is using the useless `win' key on the right.
> > Could some one tell me how to do this?
> >
> > I now use the xmodmap program to turn the Super_R key to the
> > control group. And it can be use under most programs under X
> > but Emacs.
>
> What about something like:
>
> (define-key key-translation-map [?\s-c] [?\C-c])
>
> in your .emacs - this rebinds super-c to control-c. I don't use
> xmodmap, so you may need to use something different instead of
> [?\s-c]- use M-x describe-key to find out what.
>
> Rob
You are right. It's [?\s-c]. But I want to re-map all right
control to right win key. Because I used to pressing right
control whenever I want to press M-C-f, which I use my right hand
to press M-C and my left hand press f.
It seems that this
(define-key key-translation-map [?\s] [?\C])
is useless in such a case. And I can't find anything better to
solve my problem.
Or should I used to using one caps lock key to do every job
including keybindings with control?
Thanks,
Sincerely
--
Simple is the best. ;-)
next prev parent reply other threads:[~2004-06-17 16:43 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-16 14:25 Using the `Win' key as `Ctrl' in Emacs? Xiaoyong Jin
2004-06-16 22:30 ` Gustaf Erikson
2004-06-17 7:51 ` Xiaoyong Jin
2004-06-18 8:47 ` Gustaf Erikson
2004-06-18 12:14 ` Xiaoyong Jin
2004-06-18 13:40 ` Gustaf Erikson
2004-06-18 17:29 ` Xiaoyong Jin
2004-07-01 8:14 ` gebser
2004-07-01 8:46 ` Kai Grossjohann
2004-06-17 9:31 ` Rob Walker
2004-06-17 16:43 ` Xiaoyong Jin [this message]
2004-06-18 8:05 ` Rob Walker
2004-06-18 8:23 ` Xiaoyong Jin
2004-06-18 10:44 ` Jim Ottaway
2004-07-01 9:12 ` gebser
2004-07-01 8:44 ` Kai Grossjohann
[not found] ` <mailman.2918.1088671599.1953.help-gnu-emacs@gnu.org>
2004-07-01 18:43 ` Xiaoyong Jin
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=20040618004337.07e5e13a.tootiny@163.com \
--to=tootiny@163.com \
/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.