From ab1490b5ed7406995aa0b32d54884ed4a24f49bc Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 9 Aug 2020 20:23:28 +0100 Subject: ~hyper -> super, caps -> escape Remove the hyper key bindings, setting them purely to super. After running pure Emacs with no leader bindings, I've found the use of Ctrl+g/Escape really painful (as well as the use of Ctrl for everything). I want to free the caps key (which was hyper) for use as escape. --- XServer/.Xmodmap | 5 ----- XServer/.xprofile | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'XServer') diff --git a/XServer/.Xmodmap b/XServer/.Xmodmap index 534d9f3..5a31e3c 100644 --- a/XServer/.Xmodmap +++ b/XServer/.Xmodmap @@ -1,13 +1,8 @@ -keycode 66 = Hyper_L -clear lock - clear Mod1 clear Mod2 -clear Mod3 clear Mod4 clear Mod5 add Mod1 = Alt_L Alt_R Meta_L add Mod2 = Num_Lock -add Mod3 = Hyper_L add Mod4 = Super_L Hyper_R add Mod5 = ISO_Level3_Shift Mode_switch diff --git a/XServer/.xprofile b/XServer/.xprofile index 12e4e80..d4e3575 100644 --- a/XServer/.xprofile +++ b/XServer/.xprofile @@ -1,4 +1,4 @@ #!/usr/bin/env sh -setxkbmap gb -option shift:both_capslock -option caps:none; +setxkbmap gb -option shift:both_capslock -option caps:escape; xmodmap ~/.Xmodmap; [[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources; -- cgit v1.2.3-13-gbd6f