Skip to content

Commit c51f72c

Browse files
rsashanksrdeotarse
andcommitted
keys: Add TOPIC_INFO shortcut using 'i' key to show/hide topic settings.
Co-authored-by: Shivam Deotarse <[email protected]>
1 parent 9522628 commit c51f72c

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Diff for: docs/hotkeys.md

+5
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@
7575
|Show/hide user information|<kbd>i</kbd>|
7676
|Narrow to direct messages with user|<kbd>Enter</kbd>|
7777

78+
## Topic list actions
79+
|Command|Key Combination|
80+
| :--- | :---: |
81+
|Show/hide topic information & (un)resolve topic.|<kbd>i</kbd>|
82+
7883
## Begin composing a message
7984
|Command|Key Combination|
8085
| :--- | :---: |

Diff for: zulipterminal/config/keys.py

+6
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,11 @@ class KeyBinding(TypedDict):
312312
'help_text': 'Show/hide stream information & modify settings',
313313
'key_category': 'stream_list',
314314
},
315+
'TOPIC_INFO': {
316+
'keys': ['i'],
317+
'help_text': 'Show/hide topic information & (un)resolve topic.',
318+
'key_category': 'topic_list',
319+
},
315320
'STREAM_MEMBERS': {
316321
'keys': ['m'],
317322
'help_text': 'Show/hide stream members',
@@ -467,6 +472,7 @@ class KeyBinding(TypedDict):
467472
"msg_actions": "Message actions",
468473
"stream_list": "Stream list actions",
469474
"user_list": "User list actions",
475+
"topic_list": "Topic list actions",
470476
"open_compose": "Begin composing a message",
471477
"compose_box": "Writing a message",
472478
"editor_navigation": "Editor: Navigation",

0 commit comments

Comments
 (0)