-
Notifications
You must be signed in to change notification settings - Fork 15
/
Default.sublime-keymap
391 lines (371 loc) · 34.5 KB
/
Default.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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
[
{ "keys": ["ctrl+shift+x"], "command": "org_capture" },
{ "keys": ["ctrl+up"], "command": "org_up" , "context": [{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" }]},
{ "keys": ["ctrl+down"], "command": "org_down" , "context": [{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" }]},
// TODO: ST4 REQUIRES the use of context vs wrapping.
// Split these appart to make the easier to manage.
{ "keys": ["tab"], "command": "org_tab_cycling", "context":
[
{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" },
{ "key": "org_table", "operator": "equal", "operand": true },
{ "key": "has_next_field", "operator": "not_equal", "operand": true},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": ["shift+tab"], "command": "table_editor_previous_field", "context":
[
{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" },
{ "key": "org_table", "operator": "equal", "operand": true },
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": ["tab"], "command": "org_tab_cycling", "context":
[
{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" },
{ "key": "org_heading", "operator": "equal", "operand": true },
{ "key": "has_next_field", "operator": "not_equal", "operand": true}
]
},
{ "keys": ["shift+tab"], "command": "org_global_tab_cycling", "context":
[
{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" },
{ "key": "org_heading", "operator": "equal", "operand": true },
{ "key": "has_next_field", "operator": "not_equal", "operand": true}
]
},
{ "keys": ["tab"], "command": "org_tab_cycling", "context":
[
{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" },
{ "key": "org_link", "operator": "equal", "operand": true },
{ "key": "auto_complete_visible", "operator": "equal", "operand": false},
{ "key": "has_next_field", "operator": "not_equal", "operand": true}
]
},
{ "keys": ["tab"], "command": "org_tab_cycling", "context":
[
{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" },
{ "key": "org_global", "operator": "equal", "operand": true },
{ "key": "org_table", "operator": "equal", "operand": false },
{ "key": "has_next_field", "operator": "not_equal", "operand": true}
]
},
{ "keys": ["tab"], "command": "org_tab_cycling", "context":
[
{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" },
{ "key": "org_checkbox", "operator": "equal", "operand": true },
{ "key": "has_next_field", "operator": "not_equal", "operand": true}
]
},
{ "keys": ["tab"], "command": "org_tab_cycling", "context":
[
{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" },
{ "key": "org_block", "operator": "equal", "operand": true },
{ "key": "has_next_field", "operator": "not_equal", "operand": true}
]
},
{ "keys": ["tab"], "command": "expand_snippet", "context":
[
{ "key": "eol_selector", "operator": "equal", "operand": "text.orgmode" },
{ "key": "has_snippet" }
]
},
{ "keys": ["ctrl+alt+x"], "command": "org_open_refile" },
// Core OrgMode Behaviour
//{ "keys": ["enter"], "command": "orgmode_toggle_checkbox", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.checkbox" }]},
//{ "keys": ["enter"], "command": "orgmode_recalc_checkbox_summary", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.checkbox.summary" }]},
{ "keys": ["enter"], "command": "org_open_link", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.link" },{ "key": "auto_complete_visible", "operator": "equal", "operand": false}]},
{ "keys": ["enter"], "command": "orgmode_cycle_internal_link", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.link.internal" }]},
{ "keys": ["enter"], "command": "org_enter_on_heading", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.headline" }], "args": { "Indent": 1} },
{ "keys": ["enter"], "command": "org_enter_on_heading", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.headline2" }], "args": { "Indent": 2} },
{ "keys": ["enter"], "command": "org_enter_on_heading", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.headline3" }], "args": { "Indent": 3} },
{ "keys": ["enter"], "command": "org_enter_on_heading", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.headline4" }], "args": { "Indent": 4} },
{ "keys": ["enter"], "command": "org_enter_on_heading", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.headline5" }], "args": { "Indent": 5} },
{ "keys": ["enter"], "command": "org_enter_on_heading", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.headline6" }], "args": { "Indent": 6} },
{ "keys": ["enter"], "command": "org_enter_on_heading", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.headline7" }], "args": { "Indent": 7} },
{ "keys": ["enter"], "command": "org_enter_on_heading", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.headline8" }], "args": { "Indent": 8} },
{ "keys": ["enter"], "command": "org_enter_on_heading", "context": [{ "key": "selector", "operator": "equal", "operand": "orgmode.headline9" }], "args": { "Indent": 9} },
{ "keys": ["ctrl+enter"], "command": "org_generic_insert", "context": [{ "key": "selector", "operator": "equal", "operand": "text.orgmode" }]},
{ "keys": ["ctrl+shift+enter"], "command": "org_generic_insert_aux", "context": [{ "key": "selector", "operator": "equal", "operand": "text.orgmode" }]},
// Normal non vim style bindings
{ "keys": ["alt+o","z"], "command": "org_capture" },
{ "keys": ["alt+o","a", "d"], "command": "org_agenda_day_view" },
{ "keys": ["alt+o", "t"], "command": "org_toggle", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "R"], "command": "org_refile", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "p"], "command": "org_priority_change", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "right"], "command": "org_change_indent", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "left"], "command": "org_change_de_indent", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "up"], "command": "org_move_heading_up", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "down"], "command": "org_move_heading_down", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "i", "h"], "command": "org_insert_heading_sibling", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "i", "c"], "command": "org_insert_heading_child", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "i", "d", "i"], "command": "org_insert_date_inactive", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "i", "d", "a"], "command": "org_insert_date_active", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "i", "t"], "command": "org_insert_tag", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "i", "i"], "command": "org_insert_custom_id", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "i", "s"], "command": "org_schedule", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "i", "t"], "command": "org_active_timestamp", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "i", "e"], "command": "org_deadline", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "c", "i"], "command": "org_clock_in", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "c", "o"], "command": "org_clock_out", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "c", "c"], "command": "org_recalc", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "c", "s"], "command": "org_insert_checkbox_summary", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "y", "l"], "command": "org_create_link", "context": []},
{ "keys": ["alt+o", "m", "s"], "command": "org_select_subtree", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}]},
{ "keys": ["alt+o", "m", "e"], "command": "org_select_entity", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}]},
{ "keys": ["alt+o", "y", "s"], "command": "org_copy_subtree", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}]},
{ "keys": ["alt+o", "y", "e"], "command": "org_copy_entity", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}]},
// DAYPAGE
{ "keys": ["alt+o", "d", "n"], "command": "org_day_page_next", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "d", "p"], "command": "org_day_page_previous", "context": [{ "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": ["alt+o", "d", "c"], "command": "org_day_page_create", },
// TABLES
{ "keys": ["alt+o", "t", "a"], "command": "table_editor_align", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": ["alt+o","t","j"], "command": "table_editor_join_lines", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["alt+o","t", "-"], "command": "table_editor_insert_single_hline", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": ["alt+o","t", "="], "command": "table_editor_insert_double_hline", "context":
[
{ "key": "eol_selector", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": ["alt+o","enter"], "command": "table_editor_hline_and_move", "context":
[
{ "key": "eol_selector", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": ["enter"], "command": "table_editor_next_row", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["shift+enter"], "command": "table_editor_split_column_down", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["alt+right"], "command": "table_editor_move_column_right", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["alt+left"], "command": "table_editor_move_column_left", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["alt+shift+left"], "command": "table_editor_delete_column", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["alt+shift+right"], "command": "table_editor_insert_column", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["alt+shift+up"], "command": "table_editor_kill_row", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["alt+shift+down"], "command": "table_editor_insert_row", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["alt+up"], "command": "table_editor_move_row_up", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": ["alt+down"], "command": "table_editor_move_row_down", "context":
[
{ "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
// ORG AGENDA NORMAL KEYBINDING
{ "keys": ["alt+o", "o", "a"], "command": "org_agenda_custom_view", "context": [] },
{ "keys": ["enter"], "command": "org_agenda_go_to", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": [" "], "command": "org_agenda_go_to_split", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["g"], "command": "org_agenda_day_view", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": [","], "command": "org_agenda_change_priority", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["s"], "command": "org_agenda_change_todo", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["e"], "command": "org_agenda_insert_effort", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["i"], "command": "org_agenda_id" , "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["t"], "command": "org_agenda_insert_tag", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["a"], "command": "org_agenda_assign", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["c","i"], "command": "org_agenda_clock_in", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["c","o"], "command": "org_agenda_clock_out", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": [">"], "command": "org_agenda_goto_next_day", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["<"], "command": "org_agenda_goto_prev_day", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["alt+o", "f", "f"], "command": "org_agenda_re_open_filter_view", "context": [{ "key": "eol_selector", "operand": "source.orgagenda"}] },
// NeoVintageous - Command / Normal Mode - Quick commands
// GLOBAL BINDINGS
{ "keys": ["Z"], "command": "org_capture", "context": [{"key": "vi_command_mode_aware"}] },
{ "keys": ["shift+space"], "command": "org_agenda_day_view", "context": [{"key": "vi_command_mode_aware"}] },
{ "keys": [" ", "y", "l"], "command": "org_create_link", "context": [{"key": "vi_command_mode_aware"}]},
// Personal Doom/Spacemacs style keybindings. Really should be in their own package.
// I will move at some future point.
// Spacemacs style group switching. I prefer this, feel free to remove.
{ "keys": [" ", "1"], "command": "focus_group", "context": [{"key": "vi_command_mode_aware"}], "args": { "group": 0} },
{ "keys": [" ", "2"], "command": "focus_group", "context": [{"key": "vi_command_mode_aware"}], "args": { "group": 1} },
{ "keys": [" ", "3"], "command": "focus_group", "context": [{"key": "vi_command_mode_aware"}], "args": { "group": 2} },
{ "keys": [" ", "4"], "command": "focus_group", "context": [{"key": "vi_command_mode_aware"}], "args": { "group": 3} },
{ "keys": [" ", "5"], "command": "focus_group", "context": [{"key": "vi_command_mode_aware"}], "args": { "group": 4} },
// Spacemacs style save file
{ "keys": [" ", "f", "s"], "command": "save", "context": [{"key": "vi_command_mode_aware"}]},
// ORGMODE BINDINGS
{ "keys": [" ", "t"], "command": "org_toggle", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}, { "key": "selector", "operator": "not_equal", "operand": "orgmode.table"} ] },
{ "keys": ["R"], "command": "org_refile", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ","r","f"], "command": "org_refile_to_file", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ","r","r"], "command": "org_refile_to_file_and_headline","context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ","r","m"], "command": "org_remove_tag", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ","r","a","m"], "command": "org_remove_all_tags", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "p"], "command": "org_priority_change", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "right"], "command": "org_change_indent", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "left"], "command": "org_change_de_indent", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "up"], "command": "org_move_heading_up", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "down"], "command": "org_move_heading_down", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "i", "h"], "command": "org_insert_heading_sibling", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "i", "c"], "command": "org_insert_heading_child", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "i", "d", "i"], "command": "org_insert_date_inactive", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "i", "d", "a"], "command": "org_insert_date_active", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "i", "m"], "command": "org_insert_tag", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "i", "i"], "command": "org_insert_custom_id", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "i", "s"], "command": "org_schedule", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "i", "t"], "command": "org_active_timestamp", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "i", "e"], "command": "org_deadline", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "c", "i"], "command": "org_clock_in", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "c", "o"], "command": "org_clock_out", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "c", "c"], "command": "org_recalc", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "c", "s"], "command": "org_insert_checkbox_summary", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "m", "s"], "command": "org_select_subtree", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "m", "e"], "command": "org_select_entity", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "y", "s"], "command": "org_copy_subtree", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "y", "e"], "command": "org_copy_entity", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "f", "o"], "command": "org_fold_all_but_me", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "f", "m"], "command": "org_fix_tags", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
// DAYPAGE
{ "keys": [" ", "d", "n"], "command": "org_day_page_next", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "d", "p"], "command": "org_day_page_previous", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "text.orgmode"}] },
{ "keys": [" ", "d", "c"], "command": "org_day_page_create", "context": [{"key": "vi_command_mode_aware"}] },
// ORG AGENDA
{ "keys": [" ", "o", "a"], "command": "org_agenda_custom_view", "context": [{"key": "vi_command_mode_aware"}] },
{ "keys": ["enter"], "command": "org_agenda_go_to", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": [" "], "command": "org_agenda_go_to_split", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["g"], "command": "org_agenda_day_view", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": [","], "command": "org_agenda_change_priority", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["t"], "command": "org_agenda_change_todo", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["c","i"], "command": "org_agenda_clock_in", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["c","o"], "command": "org_agenda_clock_out", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": [">"], "command": "org_agenda_goto_next_day", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["<"], "command": "org_agenda_goto_prev_day", "context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
{ "keys": ["f", "f"], "command": "org_agenda_re_open_filter_view","context": [{"key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "source.orgagenda"}] },
// TABLES
{ "keys": [" ", "t", "a"], "command": "table_editor_align", "context":
[
{ "key": "vi_command_mode_aware"}, { "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": [" ","t","j"], "command": "table_editor_join_lines", "context":
[
{ "key": "vi_command_mode_aware"}, { "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "\\|", "match_all": true }
]
},
{ "keys": [" ","t", "-"], "command": "table_editor_insert_single_hline", "context":
[
{ "key": "vi_command_mode_aware"}, { "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": [" ","t", "="], "command": "table_editor_insert_double_hline", "context":
[
{ "key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": [" ","enter"], "command": "table_editor_hline_and_move", "context":
[
{ "key": "vi_command_mode_aware"}, { "key": "eol_selector", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": [" ", "t", "e"], "command": "org_edit_formula_for_cell", "context":
[
{ "key": "vi_command_mode_aware"}, { "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
{ "keys": [" ", "t", "k"], "command": "org_clear_cell", "context":
[
{ "key": "vi_command_mode_aware"}, { "key": "selector", "operator": "equal", "operand": "orgmode.table"},
{ "key": "preceding_text", "operator": "regex_contains", "operand": "^\\s*\\|", "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "$", "match_all": true }
]
},
// ORG DATE PICKER
{ "keys": [">"], "command": "org_date_picker_next_day", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
{ "keys": ["<"], "command": "org_date_picker_prev_day", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
{ "keys": ["ctrl+,"], "command": "org_date_picker_prev_week", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
{ "keys": ["ctrl+."], "command": "org_date_picker_next_week", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
{ "keys": ["alt+,"], "command": "org_date_picker_prev_month", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
{ "keys": ["alt+."], "command": "org_date_picker_next_month", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
{ "keys": ["ctrl+shift+,"], "command": "org_date_picker_prev_hour", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
{ "keys": ["ctrl+shift+."], "command": "org_date_picker_next_hour", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
{ "keys": ["alt+shift+,"], "command": "org_date_picker_prev_minute", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
{ "keys": ["alt+shift+."], "command": "org_date_picker_next_minute", "context": [{ "key": "eol_selector", "operand": "source.orgdateeditor"}] },
// ORG INPUT SELECTOR
{ "keys": ["down"], "command": "org_input_down", "context": [{ "key": "eol_selector", "operand": "source.orginput"}] },
{ "keys": ["up"], "command": "org_input_up", "context": [{ "key": "eol_selector", "operand": "source.orginput"}] }
]