* Changing Key Mappings
@ 2020-10-12 19:25 Christopher Dimech
0 siblings, 0 replies; only message in thread
From: Christopher Dimech @ 2020-10-12 19:25 UTC (permalink / raw)
To: Help Gnu Emacs
I have changed my key-mappings to
1. Map the Hyper Key in place of the Super Key
2. Interchange the Ctrl Key with the Alt and Meta Key
After writing the re-mapping commands in the file Xmodmap and running
it through the xmodmap program using 'xmodmap Xmodmap' , I have tested
my new key-bindings in Emacs and are working as expected.
I used to think that all the 'clear', 'keycode', and 'add' commands
have to
be grouped together. I think that was a mistake in my thinking
cat Xmodmap
!
=======================================================================
! Using the Hyper Key in place of the Super Key
!
=======================================================================
clear mod4
keycode 133 = Hyper_L NoSymbol Hyper_L
keycode 134 = Hyper_L NoSymbol Hyper_L
keycode 207 = NoSymbol Super_R NoSymbol Super_R
add mod3 = Super_L Super_R
add mod4 = Hyper_L
!
=======================================================================
! Interchanging the Ctrl Key with the Alt Key and Meta Key
!
=======================================================================
clear control
clear mod1
keycode 37 = Alt_L Meta_L Alt_L Meta_L
keycode 64 = Control_L NoSymbol Control_L
add control = Control_L Control_R
add mod1 = Alt_L Meta_L
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-12 19:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-12 19:25 Changing Key Mappings Christopher Dimech
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.