@@ -323,82 +323,82 @@ class KeyBinding(TypedDict):
323
323
'BEGINNING_OF_LINE' : {
324
324
'keys' : ['ctrl a' , 'home' ],
325
325
'help_text' : 'Jump to the beginning of line' ,
326
- 'key_category' : 'msg_compose ' ,
326
+ 'key_category' : 'editor_navigation ' ,
327
327
},
328
328
'END_OF_LINE' : {
329
329
'keys' : ['ctrl e' , 'end' ],
330
330
'help_text' : 'Jump to the end of line' ,
331
- 'key_category' : 'msg_compose ' ,
331
+ 'key_category' : 'editor_navigation ' ,
332
332
},
333
333
'ONE_WORD_BACKWARD' : {
334
334
'keys' : ['meta b' , 'shift left' ],
335
335
'help_text' : 'Jump backward one word' ,
336
- 'key_category' : 'msg_compose ' ,
336
+ 'key_category' : 'editor_navigation ' ,
337
337
},
338
338
'ONE_WORD_FORWARD' : {
339
339
'keys' : ['meta f' , 'shift right' ],
340
340
'help_text' : 'Jump forward one word' ,
341
- 'key_category' : 'msg_compose ' ,
341
+ 'key_category' : 'editor_navigation ' ,
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_text_manipulation ' ,
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_text_manipulation ' ,
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_text_manipulation ' ,
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_text_manipulation ' ,
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_text_manipulation ' ,
367
367
},
368
368
'CUT_TO_START_OF_WORD' : {
369
369
'keys' : ['ctrl w' , 'meta backspace' ],
370
370
'help_text' : 'Cut backwards to the start of the current word' ,
371
- 'key_category' : 'msg_compose ' ,
371
+ 'key_category' : 'editor_text_manipulation ' ,
372
372
},
373
373
'CUT_WHOLE_LINE' : {
374
374
'keys' : ['meta x' ],
375
375
'help_text' : 'Cut the current line' ,
376
- 'key_category' : 'msg_compose ' ,
376
+ 'key_category' : 'editor_text_manipulation ' ,
377
377
},
378
378
'PASTE_LAST_CUT' : {
379
379
'keys' : ['ctrl y' ],
380
380
'help_text' : 'Paste last cut section' ,
381
- 'key_category' : 'msg_compose ' ,
381
+ 'key_category' : 'editor_text_manipulation ' ,
382
382
},
383
383
'UNDO_LAST_ACTION' : {
384
384
'keys' : ['ctrl _' ],
385
385
'help_text' : 'Undo last action' ,
386
- 'key_category' : 'msg_compose ' ,
386
+ 'key_category' : 'editor_text_manipulation ' ,
387
387
},
388
388
'PREV_LINE' : {
389
389
'keys' : ['up' , 'ctrl p' ],
390
390
'help_text' : 'Jump to the previous line' ,
391
- 'key_category' : 'msg_compose ' ,
391
+ 'key_category' : 'editor_navigation ' ,
392
392
},
393
393
'NEXT_LINE' : {
394
394
'keys' : ['down' , 'ctrl n' ],
395
395
'help_text' : 'Jump to the next line' ,
396
- 'key_category' : 'msg_compose ' ,
396
+ 'key_category' : 'editor_navigation ' ,
397
397
},
398
398
'CLEAR_MESSAGE' : {
399
399
'keys' : ['ctrl l' ],
400
- 'help_text' : 'Clear compose box' ,
401
- 'key_category' : 'msg_compose ' ,
400
+ 'help_text' : 'Clear text box' ,
401
+ 'key_category' : 'editor_text_manipulation ' ,
402
402
},
403
403
'FULL_RENDERED_MESSAGE' : {
404
404
'keys' : ['f' ],
@@ -420,6 +420,8 @@ class KeyBinding(TypedDict):
420
420
"msg_actions" : "Message actions" ,
421
421
"stream_list" : "Stream list actions" ,
422
422
"msg_compose" : "Composing a Message" ,
423
+ "editor_navigation" : "Editor: Navigation" ,
424
+ "editor_text_manipulation" : "Editor: Text Manipulation" ,
423
425
}
424
426
425
427
ZT_TO_URWID_CMD_MAPPING = {
0 commit comments