xkb: Swap Caps Lock and Escape

master
Pierre Neidhardt 2017-05-08 19:24:21 +05:30
parent e0d0a6c8ba
commit 3f99c0f1ee
1 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// //
// Description: This keyboard layout is based on Xorg's "us" and inspired by // Description: This keyboard layout is based on Xorg's "us" and inspired by
// "us(intl)". We switch Caps Lock and Left Control. // "us(intl)". We switch Caps Lock and Escape.
// //
// User setup: run // User setup: run
// //
@ -93,8 +93,8 @@ partial alphanumeric_keys xkb_symbols "usim" {
key <SPCE> { [ space, space, nobreakspace, nobreakspace ] }; key <SPCE> { [ space, space, nobreakspace, nobreakspace ] };
key <LSGT> { [ less, greater, lessthanequal, greaterthanequal ] }; key <LSGT> { [ less, greater, lessthanequal, greaterthanequal ] };
key <CAPS> { [ Control_L ] }; key <CAPS> { [ Escape ] };
key <LCTL> { [ Caps_Lock ] }; key <ESC> { [ Caps_Lock ] };
include "level3(ralt_switch)" include "level3(ralt_switch)"
}; };