From f020e70d5ffd7ee6bd78e111d77859fcabcbcacc Mon Sep 17 00:00:00 2001 From: Josh Rahm Date: Tue, 8 Apr 2025 11:06:53 -0600 Subject: Make level 5 shift use "Lock". This fixes the issue in Vim where it recognizes it as Mod4. --- setxkbmap.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'setxkbmap.sh') diff --git a/setxkbmap.sh b/setxkbmap.sh index 1a58693..674056d 100755 --- a/setxkbmap.sh +++ b/setxkbmap.sh @@ -12,10 +12,13 @@ xmodmap <(echo ' # Remove Num_Lock, because Num_Lock is stupid and this allows # us to potentially use mod2 for things! - keycode 77 = NoSymbol + # keycode 77 = NoSymbol # keycode 51 = Control_R - remove control = Control_R - add mod2 = Control_R + # remove control = Control_R + # add mod2 = Control_R + + # ISO_Level5_Shift should be mapped to NumLock + remove mod3 = ISO_Level5_Shift # keycode 222 = semicolon colon paragraph degree # keycode 24 = Control_L -- cgit