diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-09 20:23:28 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2020-08-09 20:24:58 +0100 |
commit | ab1490b5ed7406995aa0b32d54884ed4a24f49bc (patch) | |
tree | 9bb55b4fd3c88045e72080aa80d2604d6d08d88f /XServer | |
parent | e5896004c6b4dd757888efcd9682a840d144092b (diff) | |
download | dotfiles-ab1490b5ed7406995aa0b32d54884ed4a24f49bc.tar.gz dotfiles-ab1490b5ed7406995aa0b32d54884ed4a24f49bc.tar.bz2 dotfiles-ab1490b5ed7406995aa0b32d54884ed4a24f49bc.zip |
~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.
Diffstat (limited to 'XServer')
-rw-r--r-- | XServer/.Xmodmap | 5 | ||||
-rw-r--r-- | XServer/.xprofile | 2 |
2 files changed, 1 insertions, 6 deletions
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; |