-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkeybindings.json
103 lines (102 loc) · 2.43 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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
// Place your key bindings in this file to override the defaults
[
//---------to be used inside the terminal-----------
// open terminal - CTRL L
// tala mathi - ctrl k,l (vim equivalent)
// ctrl n - new tab
{
"key": "ctrl+j",
"command": "workbench.action.terminal.focusNext",
"when": "terminalFocus"
},
{
"key": "ctrl+k",
"command": "workbench.action.terminal.focusPrevious",
"when": "terminalFocus"
},
{
"key": "ctrl+l",
"command": "workbench.action.togglePanel"
},
{
"key": "ctrl+n",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
{
"key": "ctrl+m",
"command": "workbench.action.togglePanel"
},
{
"key": "ctrl+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "ctrl+m",
"command": "workbench.action.togglePanel"
},
//TODO: switch between terminal, debug console and problems tab
{
"key": "ctrl+l",
"command": "workbench.",
"when": "terminalFocus"
},
// {
// "key": "ctrl+h",
// "command": "workbench.",
// },
// "when": "terminalFocus"
{
"key": "ctrl+n",
"command": "workbench.action.terminal.new",
"when": "terminalFocus"
},
// FILE TREE (NOTE: cmd + b => hide show file tree. This is default. )
//showing file tree and unshowing it ... and switching between file tree and the text editing area
{
"command": "workbench.action.focusActiveEditorGroup",
"key": "ctrl+i",
"when": "!editorFocus"
},
{
"command": "workbench.files.action.focusFilesExplorer",
"key": "ctrl+i",
"when": "editorTextFocus"
},
//going to the open terminal
{
"key": "ctrl+o",
"command": "workbench.action.terminal.focus" ,
"when": "!terminalFocus"
},
{
"key": "ctrl+o",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
//CRUD files/folder in the file file tree
{
"key": "n",
"command": "explorer.newFile",
"when": "filesExplorerFocus && !inputFocus"
},
{
"command": "renameFile",
"key": "r",
"when": "filesExplorerFocus && !inputFocus"
},
{
"key": "ctrl+p",
"command": "workbench.action.quickOpen",
},
{
"key": "ctrl+n",
"command": "explorer.newFolder",
"when": "explorerViewletFocus"
},
{
"command": "deleteFile",
"key": "d",
"when": "filesExplorerFocus && !inputFocus"
},
]// Place your key bindings in this file to override the defaultsauto[]