[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: remapping keys
From: |
Hans Ekbrand |
Subject: |
Re: remapping keys |
Date: |
Wed, 27 Feb 2008 21:29:25 +0100 |
User-agent: |
Mutt/1.5.15+20070412 (2007-04-11) |
On Wed, Feb 20, 2008 at 02:53:26PM -0500, Stefan Monnier wrote:
> >>> Hi. I'm an Emacs newbie and I need help about remapping keyboard keys.
> >>> I would like to bind the curly brackets "}" and "{" to another keys,
> >>> handier
> >>> to me (I have an italian keyboard, so the key sequence for the brackets is
> >>> quite clumsy...)
> >>> What's the procedure for doing so ?
> >> It all depends on how you want the remapping to behave. Do you want
> >> this remapping only within Emacs?
>
> > Yes.
Why not in other applications too? To only change this for emacs seems
more difficult than doing it at the X level
[...]
> Note that it will apply to C-x { but not to C-{ and M-{, C-f, C-g, tho
> it will apply to ESC { and ESC g. I.e. it's kind of messy.
>
> >> I personally prefer to do those kinds of "inconvenient keyboard" things
> >> globally by choosing another keyboard layout (e.g. with
> >> gnome-keyboard-properties).
>
> > I would prefer a more selective approach, remapping only the keys I need.
>
> Define your own keyboard layout?
Or rather just define a few remappings in .Xmodmaprc and have a line
/usr/bin/X11/xmodmap ~/.Xmodmaprc
in .xsession.
kind regards,
--
Hans Ekbrand
signature.asc
Description: Digital signature