-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default (Windows).sublime-keymap
103 lines (91 loc) · 2.65 KB
/
Default (Windows).sublime-keymap
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
[
{ "keys": ["ctrl+b"], "command": "repl_open",
"caption": "Python - RUN current file",
"id": "repl_python_run",
"mnemonic": "d",
"args": {
"type": "subprocess",
"encoding": "utf8",
"cmd": ["python", "-i", "-u", "$file_basename"],
"cwd": "$file_path",
"syntax": "Packages/Python/Python.tmLanguage",
"external_id": "python",
"extend_env": {"PYTHONIOENCODING": "utf-8"}
}
}
,
// {
// "keys": ["ctrl+shift+r"],
// "command": "reindent",
// "args": {
// "single_line": false
// }
// }
// ,
// JSFMT
{ "keys": ["ctrl+shift+r"], "command": "format_javascript" },
// Terminus
// 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"
}
},
// LSP
{
"command": "lsp_document_symbols",
"keys": [
"ctrl+r"
],
"context": [
{
"key": "lsp.session_with_capability",
"operator": "equal",
"operand": "documentSymbolProvider"
},
{
"key": "selector",
"operator": "equal"
}
]
},
{
"command": "lsp_workspace_symbols",
"keys": [
"ctrl+shift+r"
],
"context": [
{
"key": "lsp.session_with_capability",
"operator": "equal",
"operand": "documentSymbolProvider"
},
{
"key": "selector",
"operator": "equal"
}
]
}
]