-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDefault (Linux).sublime-keymap
143 lines (109 loc) · 8.22 KB
/
Default (Linux).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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/*
NOTE: PLEASE DO NOT EDIT THIS FILE TO PREVENT YOUR CUSTOM SETTINGS FROM BEING OVERRIDDEN EACH TIME SUBLIMERGE
IS UPGRADED. TO MAKE CHANGES PLEASE COPY THE ENTRIES YOU WANT TO MODIFY TO `Key Bindings - User` FILE AND EDIT THERE.
*/
[
{ "keys": ["ctrl+alt+d"], "command": "sublimerge"},
{ "keys": ["f3"], "command": "sublimerge_swap_view", "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["f4"], "command": "sublimerge_show_changes_navigator", "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["f5"], "command": "sublimerge_recompare", "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+s"], "command": "sublimerge_save", "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+down"], "command": "sublimerge_go_down", "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+up"], "command": "sublimerge_go_up", "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+left"], "command": "sublimerge_copy", "args": {"direction": [-1, 0], "subject": "section_or_line", "action": "replace"}, "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true},
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": false, "match_all": true}
]},
{ "keys": ["ctrl+right"], "command": "sublimerge_copy", "args": {"direction": [0, -1], "subject": "section_or_line", "action": "replace"}, "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true},
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": false, "match_all": true}
]},
// { "keys": ["ctrl+alt+left"], "command": "sublimerge_copy", "args": {"direction": [-1, 0], "subject": "line", "action": "replace"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]},
// { "keys": ["ctrl+alt+right"], "command": "sublimerge_copy", "args": {"direction": [0, -1], "subject": "line", "action": "replace"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]},
{ "keys": ["ctrl+shift+left"], "command": "sublimerge_copy", "args": {"direction": [-1, 0], "subject": "all", "action": "replace"}, "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true},
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": false, "match_all": true}
]},
{ "keys": ["ctrl+shift+right"], "command": "sublimerge_copy", "args": {"direction": [0, -1], "subject": "all", "action": "replace"}, "context": [
{"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true},
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": false, "match_all": true}
]},
// NOT IMPLEMENTED YET
// { "keys": ["ctrl+shift+up", "left"], "command": "sublimerge_copy", "args": {"direction": [-1, 0], "subject": "section_or_line", "action": "insert_before"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]},
// { "keys": ["ctrl+shift+up", "right"], "command": "sublimerge_copy", "args": {"direction": [0, -1], "subject": "section_or_line", "action": "insert_before"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]},
// { "keys": ["ctrl+alt+up", "left"], "command": "sublimerge_copy", "args": {"direction": [-1, 0], "subject": "line", "action": "insert_before"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]},
// { "keys": ["ctrl+alt+up", "right"], "command": "sublimerge_copy", "args": {"direction": [0, -1], "subject": "line", "action": "insert_before"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]},
// { "keys": ["ctrl+shift+down", "left"], "command": "sublimerge_copy", "args": {"direction": [-1, 0], "subject": "section_or_line", "action": "insert_after"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]},
// { "keys": ["ctrl+shift+down", "right"], "command": "sublimerge_copy", "args": {"direction": [0, -1], "subject": "section_or_line", "action": "insert_after"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]},
// { "keys": ["ctrl+alt+down", "left"], "command": "sublimerge_copy", "args": {"direction": [-1, 0], "subject": "line", "action": "insert_after"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]},
// { "keys": ["ctrl+alt+down", "right"], "command": "sublimerge_copy", "args": {"direction": [0, -1], "subject": "line", "action": "insert_after"}, "context": [
// {"key": "setting.is_sublimerge_view", "operator": "equal", "operand": true, "match_all": true}
// ]}
//DIRECTORIES DIFF
{ "keys": ["left"], "command": "sublimerge_copy", "args": {"direction": [-1, 0], "subject": "file", "action": "replace"}, "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+left"], "command": "sublimerge_copy", "args": {"direction": [-1, 0], "subject": "file", "action": "replace"}, "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["right"], "command": "sublimerge_copy", "args": {"direction": [0, -1], "subject": "file", "action": "replace"}, "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+right"], "command": "sublimerge_copy", "args": {"direction": [0, -1], "subject": "file", "action": "replace"}, "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["up"], "command": "sublimerge_go_up", "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+up"], "command": "sublimerge_go_up", "args": {"change_only": true}, "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["down"], "command": "sublimerge_go_down", "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+down"], "command": "sublimerge_go_down", "args": {"change_only": true}, "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["enter"], "command": "sublimerge_go_into", "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+enter"], "command": "sublimerge_go_into", "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["backspace"], "command": "sublimerge_go_back", "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]},
{ "keys": ["ctrl+backspace"], "command": "sublimerge_go_back", "context": [
{"key": "setting.is_sublimerge_dirs_view", "operator": "equal", "operand": true, "match_all": true}
]}
]