forked from timbrel/GitSavvy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDefault (OSX).sublime-keymap
68 lines (59 loc) · 1.76 KB
/
Default (OSX).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
[
/////////////////
// COMMIT VIEW //
/////////////////
{
"keys": ["super+enter"],
"command": "gs_commit_view_do_commit",
"context": [
{ "key": "setting.git_savvy.get_long_text_view", "operator": "equal", "operand": true }
]
},
///////////////
// DIFF VIEW //
///////////////
{
"keys": ["super+enter"],
"command": "gs_diff_stage_or_reset_hunk",
"context": [
{ "key": "setting.git_savvy.diff_view", "operator": "equal", "operand": true }
]
},
{
"keys": ["super+backspace"],
"command": "gs_diff_stage_or_reset_hunk",
"args": { "reset": true },
"context": [
{ "key": "setting.git_savvy.diff_view", "operator": "equal", "operand": true },
{ "key": "setting.git_savvy.diff_view.in_cached_mode", "operator": "equal", "operand": false }
]
},
////////////////
// BLAME VIEW //
////////////////
{
"keys": ["super+enter"],
"command": "gs_blame_open_commit",
"context": [
{ "key": "setting.git_savvy.blame_view", "operator": "equal", "operand": true }
]
},
///////////////
// HELP VIEW //
///////////////
{
"keys": ["super+enter"],
"command": "gs_help_goto_link",
"context": [
{ "key": "setting.git_savvy.help_view", "operator": "equal", "operand": true },
{ "key": "selector", "operator": "equal", "operand": "meta.link.inline.markdown"}
]
},
{
"keys": ["super+backspace"],
"command": "gs_help_goto_previous",
"context": [
{ "key": "setting.git_savvy.help_view", "operator": "equal", "operand": true }
]
}
]