-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeybindings.json
More file actions
32 lines (32 loc) · 901 Bytes
/
Copy pathkeybindings.json
File metadata and controls
32 lines (32 loc) · 901 Bytes
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
[
// Key bindings related to terminal.
{
"key": "cmd+right",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "cmd+left",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus"
},
// End of key bindings related to terminal.
{
"key": "cmd+u",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus",
"args": {
"snippet": "import time;start=time.time()\n${TM_SELECTED_TEXT}\nend=time.time()\nprint(\"Time taken by ${1}\", (end-start) * 1000, \"ms\")"
}
}
]