Skip to content

Commit c604eb2

Browse files
rsashanksrdeotarse
andcommitted
keys: Add TOPIC_INFO shortcut using 'i' key to show/hide topic settings.
Co-authored-by: Shivam Deotarse <srdeotarse@gmail.com>
1 parent ff5f0fb commit c604eb2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

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 actions
79+
|Command|Key Combination|
80+
| :--- | :---: |
81+
|Show/hide topic information & modify settings|<kbd>i</kbd>|
82+
7883
## Begin composing a message
7984
|Command|Key Combination|
8085
| :--- | :---: |

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 & modify settings',
318+
'key_category': 'topic_actions',
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_actions": "Topic actions",
470476
"open_compose": "Begin composing a message",
471477
"compose_box": "Writing a message",
472478
"editor_navigation": "Editor: Navigation",

0 commit comments

Comments
 (0)