@@ -323,82 +323,82 @@ class KeyBinding(TypedDict):
323323 'BEGINNING_OF_LINE' : {
324324 'keys' : ['ctrl a' , 'home' ],
325325 'help_text' : 'Jump to the beginning of line' ,
326- 'key_category' : 'msg_compose ' ,
326+ 'key_category' : 'editor_navigation ' ,
327327 },
328328 'END_OF_LINE' : {
329329 'keys' : ['ctrl e' , 'end' ],
330330 'help_text' : 'Jump to the end of line' ,
331- 'key_category' : 'msg_compose ' ,
331+ 'key_category' : 'editor_navigation ' ,
332332 },
333333 'ONE_WORD_BACKWARD' : {
334334 'keys' : ['meta b' , 'shift left' ],
335335 'help_text' : 'Jump backward one word' ,
336- 'key_category' : 'msg_compose ' ,
336+ 'key_category' : 'editor_navigation ' ,
337337 },
338338 'ONE_WORD_FORWARD' : {
339339 'keys' : ['meta f' , 'shift right' ],
340340 'help_text' : 'Jump forward one word' ,
341- 'key_category' : 'msg_compose ' ,
341+ 'key_category' : 'editor_navigation ' ,
342342 },
343343 'DELETE_LAST_CHARACTER' : {
344344 'keys' : ['ctrl h' ],
345345 'help_text' : 'Delete previous character (to left)' ,
346- 'key_category' : 'msg_compose ' ,
346+ 'key_category' : 'editor_text_manipulation ' ,
347347 },
348348 'TRANSPOSE_CHARACTERS' : {
349349 'keys' : ['ctrl t' ],
350350 'help_text' : 'Transpose characters' ,
351- 'key_category' : 'msg_compose ' ,
351+ 'key_category' : 'editor_text_manipulation ' ,
352352 },
353353 'CUT_TO_END_OF_LINE' : {
354354 'keys' : ['ctrl k' ],
355355 'help_text' : 'Cut forwards to the end of the line' ,
356- 'key_category' : 'msg_compose ' ,
356+ 'key_category' : 'editor_text_manipulation ' ,
357357 },
358358 'CUT_TO_START_OF_LINE' : {
359359 'keys' : ['ctrl u' ],
360360 'help_text' : 'Cut backwards to the start of the line' ,
361- 'key_category' : 'msg_compose ' ,
361+ 'key_category' : 'editor_text_manipulation ' ,
362362 },
363363 'CUT_TO_END_OF_WORD' : {
364364 'keys' : ['meta d' ],
365365 'help_text' : 'Cut forwards to the end of the current word' ,
366- 'key_category' : 'msg_compose ' ,
366+ 'key_category' : 'editor_text_manipulation ' ,
367367 },
368368 'CUT_TO_START_OF_WORD' : {
369369 'keys' : ['ctrl w' , 'meta backspace' ],
370370 'help_text' : 'Cut backwards to the start of the current word' ,
371- 'key_category' : 'msg_compose ' ,
371+ 'key_category' : 'editor_text_manipulation ' ,
372372 },
373373 'CUT_WHOLE_LINE' : {
374374 'keys' : ['meta x' ],
375375 'help_text' : 'Cut the current line' ,
376- 'key_category' : 'msg_compose ' ,
376+ 'key_category' : 'editor_text_manipulation ' ,
377377 },
378378 'PASTE_LAST_CUT' : {
379379 'keys' : ['ctrl y' ],
380380 'help_text' : 'Paste last cut section' ,
381- 'key_category' : 'msg_compose ' ,
381+ 'key_category' : 'editor_text_manipulation ' ,
382382 },
383383 'UNDO_LAST_ACTION' : {
384384 'keys' : ['ctrl _' ],
385385 'help_text' : 'Undo last action' ,
386- 'key_category' : 'msg_compose ' ,
386+ 'key_category' : 'editor_text_manipulation ' ,
387387 },
388388 'PREV_LINE' : {
389389 'keys' : ['up' , 'ctrl p' ],
390390 'help_text' : 'Jump to the previous line' ,
391- 'key_category' : 'msg_compose ' ,
391+ 'key_category' : 'editor_navigation ' ,
392392 },
393393 'NEXT_LINE' : {
394394 'keys' : ['down' , 'ctrl n' ],
395395 'help_text' : 'Jump to the next line' ,
396- 'key_category' : 'msg_compose ' ,
396+ 'key_category' : 'editor_navigation ' ,
397397 },
398398 'CLEAR_MESSAGE' : {
399399 '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 ' ,
402402 },
403403 'FULL_RENDERED_MESSAGE' : {
404404 'keys' : ['f' ],
@@ -420,6 +420,8 @@ class KeyBinding(TypedDict):
420420 "msg_actions" : "Message actions" ,
421421 "stream_list" : "Stream list actions" ,
422422 "msg_compose" : "Composing a Message" ,
423+ "editor_navigation" : "Editor: Navigation" ,
424+ "editor_text_manipulation" : "Editor: Text Manipulation" ,
423425}
424426
425427ZT_TO_URWID_CMD_MAPPING = {
0 commit comments