1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
// $XKeyboardConfig$
//
// Let space provide nobreakspace for the desired level.
partial
xkb_symbols "none" {
key <SPCE> {
type[Group1]="ONE_LEVEL",
symbols[Group1]= [ space ]
};
};
partial
xkb_symbols "level2" {
key <SPCE> {
type[Group1]="TWO_LEVEL",
symbols[Group1]= [ space, nobreakspace ]
};
};
// level3 & level3ns provide no-breaking spaces starting from level3
// This is good for typographers but experience shows many users accidently
// type no-breaking spaces on the CLI (resulting in errors)
// Used by fr(latin9)
partial
xkb_symbols "level3" {
key <SPCE> {
type[Group1]="FOUR_LEVEL",
symbols[Group1]= [ space, space, nobreakspace ]
};
};
// level3s kills fourth level
// Used by ca(multix)
partial
xkb_symbols "level3s" {
key <SPCE> {
type[Group1]="FOUR_LEVEL",
symbols[Group1]= [ space, space, nobreakspace, NoSymbol ]
};
};
// level3n provides narrow no-breaking space in addition to the normal one
partial
xkb_symbols "level3n" {
key <SPCE> {
type[Group1]="FOUR_LEVEL",
symbols[Group1]= [ space, space, nobreakspace, 0x100202F ]
};
};
// for this reason pushing no-breaking spaces to level4 is the safe default nowadays
partial
xkb_symbols "level4" {
key <SPCE> {
type[Group1]="FOUR_LEVEL",
symbols[Group1]= [ space, space, space, nobreakspace ]
};
};
// level4n provides narrow no-breaking space in addition to the normal one
// Used by fr(oss), be(oss)…
partial
xkb_symbols "level4n" {
key <SPCE> {
type[Group1]="EIGHT_LEVEL",
symbols[Group1]= [ space, space, space, nobreakspace, space, 0x100202F, NoSymbol, NoSymbol ]
};
};
|