-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
27 lines (27 loc) · 955 Bytes
/
package.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
{
"name": "terminal-clear",
"displayName": "Terminal Clear",
"description": "Adds consistent ctrl+k keybinding to clear the terminal.",
"version": "0.0.1",
"publisher": "firstdraft",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/firstdraft/terminal-clear"
},
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"Keymaps"
],
"contributes": {
"keybindings": [
{
"key": "ctrl+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled || accessibilityModeEnabled && accessibleViewIsShown && terminalHasBeenCreated && accessibleViewCurrentProviderId == 'terminal' || accessibilityModeEnabled && accessibleViewIsShown && terminalProcessSupported && accessibleViewCurrentProviderId == 'terminal'"
}
]
}
}