@@ -323,77 +323,77 @@ class KeyBinding(TypedDict):
323
323
'BEGINNING_OF_LINE' : {
324
324
'keys' : ['ctrl a' ],
325
325
'help_text' : 'Jump to the beginning of line' ,
326
- 'key_category' : 'msg_compose ' ,
326
+ 'key_category' : 'editor ' ,
327
327
},
328
328
'END_OF_LINE' : {
329
329
'keys' : ['ctrl e' ],
330
330
'help_text' : 'Jump to the end of line' ,
331
- 'key_category' : 'msg_compose ' ,
331
+ 'key_category' : 'editor ' ,
332
332
},
333
333
'ONE_WORD_BACKWARD' : {
334
334
'keys' : ['meta b' ],
335
335
'help_text' : 'Jump backward one word' ,
336
- 'key_category' : 'msg_compose ' ,
336
+ 'key_category' : 'editor ' ,
337
337
},
338
338
'ONE_WORD_FORWARD' : {
339
339
'keys' : ['meta f' ],
340
340
'help_text' : 'Jump forward one word' ,
341
- 'key_category' : 'msg_compose ' ,
341
+ 'key_category' : 'editor ' ,
342
342
},
343
343
'DELETE_LAST_CHARACTER' : {
344
344
'keys' : ['ctrl h' ],
345
345
'help_text' : 'Delete previous character (to left)' ,
346
- 'key_category' : 'msg_compose ' ,
346
+ 'key_category' : 'editor ' ,
347
347
},
348
348
'TRANSPOSE_CHARACTERS' : {
349
349
'keys' : ['ctrl t' ],
350
350
'help_text' : 'Transpose characters' ,
351
- 'key_category' : 'msg_compose ' ,
351
+ 'key_category' : 'editor ' ,
352
352
},
353
353
'CUT_TO_END_OF_LINE' : {
354
354
'keys' : ['ctrl k' ],
355
355
'help_text' : 'Cut forwards to the end of the line' ,
356
- 'key_category' : 'msg_compose ' ,
356
+ 'key_category' : 'editor ' ,
357
357
},
358
358
'CUT_TO_START_OF_LINE' : {
359
359
'keys' : ['ctrl u' ],
360
360
'help_text' : 'Cut backwards to the start of the line' ,
361
- 'key_category' : 'msg_compose ' ,
361
+ 'key_category' : 'editor ' ,
362
362
},
363
363
'CUT_TO_END_OF_WORD' : {
364
364
'keys' : ['meta d' ],
365
365
'help_text' : 'Cut forwards to the end of the current word' ,
366
- 'key_category' : 'msg_compose ' ,
366
+ 'key_category' : 'editor ' ,
367
367
},
368
368
'CUT_TO_START_OF_WORD' : {
369
369
'keys' : ['ctrl w' ],
370
370
'help_text' : 'Cut backwards to the start of the current word' ,
371
- 'key_category' : 'msg_compose ' ,
371
+ 'key_category' : 'editor ' ,
372
372
},
373
373
'PASTE_LAST_CUT' : {
374
374
'keys' : ['ctrl y' ],
375
375
'help_text' : 'Paste last cut section' ,
376
- 'key_category' : 'msg_compose ' ,
376
+ 'key_category' : 'editor ' ,
377
377
},
378
378
'UNDO_LAST_ACTION' : {
379
379
'keys' : ['ctrl _' ],
380
380
'help_text' : 'Undo last action' ,
381
- 'key_category' : 'msg_compose ' ,
381
+ 'key_category' : 'editor ' ,
382
382
},
383
383
'PREV_LINE' : {
384
384
'keys' : ['up' , 'ctrl p' ],
385
385
'help_text' : 'Jump to the previous line' ,
386
- 'key_category' : 'msg_compose ' ,
386
+ 'key_category' : 'editor ' ,
387
387
},
388
388
'NEXT_LINE' : {
389
389
'keys' : ['down' , 'ctrl n' ],
390
390
'help_text' : 'Jump to the next line' ,
391
- 'key_category' : 'msg_compose ' ,
391
+ 'key_category' : 'editor ' ,
392
392
},
393
393
'CLEAR_MESSAGE' : {
394
394
'keys' : ['ctrl l' ],
395
395
'help_text' : 'Clear compose box' ,
396
- 'key_category' : 'msg_compose ' ,
396
+ 'key_category' : 'editor ' ,
397
397
},
398
398
'FULL_RENDERED_MESSAGE' : {
399
399
'keys' : ['f' ],
@@ -415,6 +415,7 @@ class KeyBinding(TypedDict):
415
415
"msg_actions" : "Message actions" ,
416
416
"stream_list" : "Stream list actions" ,
417
417
"msg_compose" : "Composing a Message" ,
418
+ "editor" : "Editor actions" ,
418
419
}
419
420
420
421
ZT_TO_URWID_CMD_MAPPING = {
0 commit comments