[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using the `Win' key as `Ctrl' in Emacs?
From: |
Rob Walker |
Subject: |
Re: Using the `Win' key as `Ctrl' in Emacs? |
Date: |
17 Jun 2004 02:31:54 -0700 |
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
Re: Using the `Win' key as `Ctrl' in Emacs?,
Rob Walker <=