From: Oleg Broytman Date: Thu, 9 Apr 2020 18:42:40 +0000 (+0300) Subject: .Xmodmap: Refactor X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=2a52ff108dd5a096d5cd3b0768e7a432902ae7a6;p=dotfiles.git .Xmodmap: Refactor Just reorder sections. --- diff --git a/lib/X11/.Xmodmap b/lib/X11/.Xmodmap index 0270549..eb4eeae 100644 --- a/lib/X11/.Xmodmap +++ b/lib/X11/.Xmodmap @@ -5,16 +5,6 @@ !clear mod3 !clear mod4 -! Key Base Shift Caps ShiftCaps -!------------------------------------------------------------------------ -!keycode 113 = Alt_R - -! Disable RightWin -keycode 94 = - -! RightMenu = Compose -keycode 117 = Multi_key - !add shift = Shift_L Shift_R !add control = Control_L Control_R !add mod1 = Alt_L Alt_R @@ -26,6 +16,16 @@ keycode 117 = Multi_key !clear mod5 !add mod5 = Caps_Lock Mode_switch +! Key Base Shift Caps ShiftCaps +!------------------------------------------------------------------------ +!keycode 113 = Alt_R + +! Disable RightWin +keycode 94 = + +! RightMenu = Compose +keycode 117 = Multi_key + ! ! Some examples @@ -41,10 +41,10 @@ keycode 117 = Multi_key ! add Lock = Caps_Lock ! add Control = Control_R -!!!!! move around the escape key (PC only!) -!!!!! `/~ key does Escape (shifted, ~) -! keycode 49 = Escape asciitilde - !!!!! make backspace be ` and ~ ! keysym BackSpace = quoteleft asciitilde ! keycode 22 = quoteleft asciitilde + +!!!!! move around the escape key (PC only!) +!!!!! `/~ key does Escape (shifted, ~) +! keycode 49 = Escape asciitilde