-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathTerminus Key Bindings.json
More file actions
73 lines (61 loc) · 1.81 KB
/
Terminus Key Bindings.json
File metadata and controls
73 lines (61 loc) · 1.81 KB
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
///////////////////////////////////////////////////////////
// Jam-Es.com
//////////////////////////////////////////////////////////
[
// Toggle Terminus panel (at the bottom of the screen) Open/Closed when Alt+' is pressed
{
// The key press to look out for
"keys": ["alt+`"],
// Toggle the panel
"command": "toggle_terminus_panel"
},
// Open cmd.exe Command Prompt when Alt+1 is pressed
{
// The key press to look out for
"keys": ["alt+1"],
// Tell terminus to open something
"command": "terminus_open",
// Tell terminus what to open
"args" : {
// Open Command Prompt
"cmd": "cmd.exe",
// Provide Command Prompt with Current Working Directory
"cwd": "${file_path:${folder}}",
// Tell terminus to put it in the panel at the bottom of the screen
"panel_name": "Terminus"
}
},
// Open git bash when Alt+2 is pressed
{
"keys": ["alt+2"],
"command": "terminus_open",
"args" : {
// Tell terminus to use Git Bash
// Replace the path below with your path to Git Bash
"cmd": ["C:\\Program Files\\Git\\bin\\bash.exe", "-i", "-l"],
"cwd": "${file_path:${folder}}",
"panel_name": "Terminus"
}
},
// Repitition of the above adding Alt+c and Alt+b shortcuts
{
"keys": ["alt+c"],
"command": "terminus_open",
"args" : {
"cmd": "cmd.exe",
"cwd": "${file_path:${folder}}",
"title": "Command Prompt",
"panel_name": "Terminus"
}
},
{
"keys": ["alt+b"],
"command": "terminus_open",
"args" : {
"cmd": ["C:\\Program Files\\Git\\bin\\bash.exe", "-i", "-l"],
"cwd": "${file_path:${folder}}",
"title": "Git Bash",
"panel_name": "Terminus"
}
},
]