-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrukb
87 lines (58 loc) · 2.47 KB
/
rukb
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// https://github.com/r-unruh/keyboard
default
xkb_symbols "basic" {
name[Group1]="r-unruh/keyboard";
// This keyboard setup uses the default US keyboard as a base.
include "latin(basic)"
include "kpdl(comma)"
include "level3(ralt_switch)"
// ---------------------------------------------------------------
// All bindings that are below this are modifications by me.
// Feel free to delete or comment-out everything that bothers you.
// ---------------------------------------------------------------
// Capslock is used as an alias for ctrl-alt.
// You cannot use Capslock normally anymore!
key <CAPS> {[ISO_Level3_Shift]};
// German Umlauts and sharp S
// Capslock (+Shift) + ' creates umlaut a/A
key <AC11> {[apostrophe, quotedbl, adiaeresis, Adiaeresis]};
// Capslock (+Shift) + ; creates umlaut o/O
key <AC10> {[semicolon, colon, odiaeresis, Odiaeresis]};
// Capslock (+Shift) + [ creates umlaut u/U
key <AD11> {[bracketleft, braceleft, udiaeresis, Udiaeresis]};
// Capslock (+Shift) + s creates sharp s/S
key <AC02> {[s, S, ssharp, U1E9E]};
// Misc language support
// Adds deadkeys for some language support (hracek, tilde)
key <TLDE> {[grave, dead_abovering, dead_caron, dead_tilde]};
// Uses acute and grave instead of cedilla and ogonek
// Switch the lines below if you want the default behaviour.
// key <AE12> {[equal, plus, dead_cedilla, dead_ogonek]};
key <AE12> {[equal, plus, dead_acute, dead_grave]};
// US/DE Keyboard configuration
// The following two lines make physical German keyboard layouts
// usable with this US setup.
// You should comment them out when using a physical US keyboard.
key <BKSL> {[numbersign, asciitilde]};
key <LSGT> {[backslash, bar]};
// Linux console command shortcuts
// Capslock + j is Return / Enter
key <AC07> {[j, J, Return]};
// Capslock + p moves the cursor down
key <AD10> {[p, P, Up]};
// Capslock + n moves the cursor up
key <AB06> {[n, N, Down]};
// Capslock + b moves the cursor to the left
key <AB05> {[b, B, Left]};
// Capslock + f moves the cursor to the right
key <AC04> {[f, F, Right]};
// Capslock + h deletes to the left
key <AC06> {[h, H, BackSpace]};
// Capslock + d deletes to the right
key <AC03> {[d, D, Delete]};
// Capslock + a jumps to the beginning of the line
key <AC01> {[a, A, Home]};
// Capslock + e jumps to the end of the line
// Capslock + Shift + e to get the Euro sign
key <AD03> {[e, E, End, EuroSign]};
};