-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeybindings.json
43 lines (43 loc) · 1.28 KB
/
keybindings.json
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
// Place your key bindings in this file to override the defaults
[
{
"key": "cmd+c",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0003" // c = 3 position in alphabet. hex(3) = 3
},
"when": "terminalFocus && !terminalTextSelected"
},
{
"key": "cmd+e", // end of line
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0005" // e = 5 position in alphabet. hex(5) = 5
},
"when": "terminalFocus"
},
{
"key": "cmd+a", // start of line
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0001", // a = 1 position in alphabet. hex(1) = 1
},
"when": "terminalFocus"
},
{
"key": "cmd+u", // clear text
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0015", // u = 21 position in alphabet. hex(21) = 15
},
"when": "terminalFocus"
},
{
"key": "cmd+r", // reverse search
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "\u0012", // u = 18 position in alphabet. hex(18) = 12
},
"when": "terminalFocus"
}
]