Skip to content

Instantly share code, notes, and snippets.

@rempas
Created March 29, 2022 16:39
Show Gist options
  • Save rempas/4fb080260dbde02b4aa89ce60549d2c4 to your computer and use it in GitHub Desktop.
Save rempas/4fb080260dbde02b4aa89ce60549d2c4 to your computer and use it in GitHub Desktop.
rempas keyboard layout
# setxkbmap -option caps:swapescape -option lv3:ralt_switch -option grp:alt_caps_toggle rempas,rempas_el
# xset r rate 220 30
default partial alphanumeric_keys modifier_keys
xkb_symbols "basic" {
name[Group1]= "Rempas (English)";
// Unmodified Shift AltGr Shift+AltGr
// alpha/numeric
key <TLDE> { [ numbersign, asciitilde, dead_tilde ] };
key <AE01> { [ 1, ampersand, sterling ] };
key <AE02> { [ 2, at, currency ] };
key <AE03> { [ 3, percent, cent ] };
key <AE04> { [ 4, backslash, yen ] };
key <AE05> { [ 5, grave, dead_grave ] };
key <AE06> { [ 0, asciicircum ] };
key <AE07> { [ 6, asterisk, onehalf ] };
key <AE08> { [ 7, plus ] };
key <AE09> { [ 8, equal ] };
key <AE10> { [ 9, exclam, exclamdown, U2E18 ] };
key <AE11> { [ dollar, bar, EuroSign ] };
key <AE12> { [ bracketleft, bracketright ] };
// top row
key <AD01> { [ colon, semicolon, dead_diaeresis ] };
key <AD02> { [ comma, less, guillemotleft, U201C ] };
key <AD03> { [ period, greater, guillemotright, U201D ] };
key <AD04> { [ p, P, paragraph, section ] };
key <AD05> { [ y, Y, udiaeresis, Udiaeresis ] };
key <AD06> { [ j, J ] };
key <AD07> { [ g, G ] };
key <AD08> { [ l, L ] };
key <AD09> { [ r, R, registered, trademark ] };
key <AD10> { [ c, C, ccedilla, Ccedilla ] };
key <AD11> { [ slash, question, questiondown, U203D ] };
key <AD12> { [ parenleft, parenright, dead_circumflex, dead_caron ] };
// home row
key <AC01> { [ a, A, aring, Aring ] };
key <AC02> { [ i, I ] };
key <AC03> { [ e, E, ae, AE ] };
key <AC04> { [ u, U, eacute, Eacute ] };
key <AC05> { [ s, S, ssharp, U1E9E ] };
key <AC06> { [ d, D, eth, ETH ] };
key <AC07> { [ h, H, dead_acute ] };
key <AC08> { [ t, T, thorn, THORN ] };
key <AC09> { [ n, N, ntilde, Ntilde ] };
key <AC10> { [ o, O, oslash, Ooblique ] };
key <AC11> { [ minus, underscore, hyphen, endash ] };
key <BKSL> { [ braceleft, braceright ] };
// buttom row
key <AB01> { [ x, X ] };
key <AB02> { [ q, Q ] };
key <AB03> { [ k, K ] };
key <AB04> { [ f, F ] };
key <AB05> { [ z, Z ] };
key <AB06> { [ b, B ] };
key <AB07> { [ m, M ] };
key <AB08> { [ w, W ] };
key <AB09> { [ v, V ] };
key <AB10> { [ quotedbl, apostrophe, dead_acute ] };
// Space
key <SPCE> { [ space, BackSpace ] };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment