Skip to content

Commit 46f0ac1

Browse files
committed
Symbol mods less intrusive to Locale mappings
* When a Sym mod was used as an option, it would overwrite any sym keys set by the locale variant. * Now, bracket and other common keys are commented out in the Sym mods where possible.
1 parent 35439e2 commit 46f0ac1

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

xkb-data_xmod/xkb/symbols/symkeys

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ default
2020
// See "DreymaR's Big Bag of Keyboard Tricks": https://dreymar.colemak.org/ergo-mods.html#symbols
2121

2222
// Standard symbol key setup, as found in QWERTY and several other layouts
23+
// NOTE: This should be read in first, before adding any locale variants and then optionally a Symbol mod.
24+
// The Sym mods below change as little as possible from this entry, to avoid overwriting locale keys.
2325
partial alphanumeric_keys
2426
xkb_symbols "cmk_ed_symbols" {
2527
include "symkeys(cmk_ed_commons)"
@@ -38,43 +40,43 @@ xkb_symbols "cmk_ed_symbols" {
3840
// DreymaR's Sym (S) mod for setups not using a Wide (W) mod
3941
partial alphanumeric_keys
4042
xkb_symbols "cmk_ed_sym_non-w" {
41-
include "symkeys(cmk_ed_commons)"
42-
include "symkeys(cmk_ed_numbers)"
43+
// include "symkeys(cmk_ed_commons)"
44+
// include "symkeys(cmk_ed_numbers)"
4345
key <AE11> { [ equal, plus, dead_doubleacute, notequal ] }; // =+ _≠
4446
key <AE12> { [ bracketleft, braceleft, aring, Aring ] }; // [{ åÅ
4547
key <AD10> { [ apostrophe, quotedbl, dead_acute, U2032 ] }; // '" _′
4648
key <AD11> { [ minus, underscore, dead_macron, plusminus ] }; // -_ _±
47-
key <AD12> { [ bracketright, braceright, ae, AE ] }; // ]} æÆ
49+
// key <AD12> { [ bracketright, braceright, ae, AE ] }; // ]} æÆ
4850
key <AC11> { [ semicolon, colon, dead_diaeresis, ellipsis ] }; // QWE P Cmk ;: ¨…
4951
key <BKSL> { [ backslash, bar, dead_grave, brokenbar ] }; // \| _¦
50-
key <AB10> { [ slash, question, dead_stroke, questiondown ] }; // /? _¿
52+
// key <AB10> { [ slash, question, dead_stroke, questiondown ] }; // /? _¿
5153
};
5254

5355
// DreymaR's Sym mod for setups using the Wide-ANSI model (without Sym, it has the Quote key on AD12)
5456
partial alphanumeric_keys
5557
xkb_symbols "cmk_ed_sym_w-104" {
56-
include "symkeys(cmk_ed_commons)"
57-
include "symkeys(cmk_ed_numbers)"
58+
// include "symkeys(cmk_ed_commons)"
59+
// include "symkeys(cmk_ed_numbers)"
5860
key <AE11> { [ equal, plus, dead_doubleacute, notequal ] }; // =+ _≠
5961
key <AE12> { [ backslash, bar, dead_grave, brokenbar ] }; // \| _¦
6062
key <AD10> { [ minus, underscore, dead_macron, plusminus ] }; // -_ _±
61-
key <AD11> { [ bracketleft, braceleft, aring, Aring ] }; // [{ åÅ
62-
key <AD12> { [ bracketright, braceright, ae, AE ] }; // ]} æÆ
63-
key <AC11> { [ apostrophe, quotedbl, dead_acute, U2032 ] }; // '" _′
63+
// key <AD11> { [ bracketleft, braceleft, aring, Aring ] }; // [{ åÅ
64+
// key <AD12> { [ bracketright, braceright, ae, AE ] }; // ]} æÆ
65+
// key <AC11> { [ apostrophe, quotedbl, dead_acute, U2032 ] }; // '" _′
6466
key <BKSL> { [ semicolon, colon, dead_diaeresis, ellipsis ] }; // QWE P Cmk ;: ¨…
65-
key <AB10> { [ slash, question, dead_stroke, questiondown ] }; // /? _¿
67+
// key <AB10> { [ slash, question, dead_stroke, questiondown ] }; // /? _¿
6668
};
6769

6870
// DreymaR's Sym mod for setups using the Wide-ISO model (without Sym, it has the Slash key on AD12)
6971
partial alphanumeric_keys
7072
xkb_symbols "cmk_ed_sym_w-105" {
71-
include "symkeys(cmk_ed_commons)"
72-
include "symkeys(cmk_ed_numbers)"
73+
// include "symkeys(cmk_ed_commons)"
74+
// include "symkeys(cmk_ed_numbers)"
7375
key <AE11> { [ equal, plus, dead_doubleacute, notequal ] }; // =+ _≠
7476
key <AE12> { [ backslash, bar, dead_grave, brokenbar ] }; // \| _¦
7577
key <AD10> { [ apostrophe, quotedbl, dead_acute, U2032 ] }; // '" _′
76-
key <AD11> { [ bracketleft, braceleft, aring, Aring ] }; // [{ åÅ
77-
key <AD12> { [ bracketright, braceright, ae, AE ] }; // ]} æÆ
78+
// key <AD11> { [ bracketleft, braceleft, aring, Aring ] }; // [{ åÅ
79+
// key <AD12> { [ bracketright, braceright, ae, AE ] }; // ]} æÆ
7880
key <AC11> { [ semicolon, colon, dead_diaeresis, ellipsis ] }; // QWE P Cmk ;: ¨…
7981
key <BKSL> { [ slash, question, dead_stroke, questiondown ] }; // /? _¿
8082
key <AB10> { [ minus, underscore, dead_macron, plusminus ] }; // -_ _±

0 commit comments

Comments
 (0)