Skip to content

Commit a82fa3d

Browse files
sumanthvraomkp6781
authored andcommitted
README/keys: Add 'TOGGLE_MUTE_TOPIC' hotkey to 'mute/unmute' topics.
New section 'Topic list actions' created in README. New 'topic_list' category created in keys for mapping keys belonging to topic list actions.
1 parent 690a9b6 commit a82fa3d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ source ~/.zshenv
204204
| Show/hide stream information & modify settings | <kbd>i</kbd> |
205205
| Show/hide stream members (from stream information) | <kbd>m</kbd> |
206206

207+
### Topic list actions
208+
| Command | Key Combination |
209+
|------------------------------------------------------ | --------------------------------------------- |
210+
| Mute/unmute Topics | <kbd>M</kbd> |
211+
207212
### Composing a message
208213
| Command | Key Combination |
209214
| ----------------------------------------------------- | --------------------------------------------- |

zulipterminal/config/keys.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@ class KeyBinding(TypedDict, total=False):
209209
'help_text': 'Mute/unmute Streams',
210210
'key_category': 'stream_list',
211211
}),
212+
('TOGGLE_MUTE_TOPIC', {
213+
'keys': ['M'],
214+
'help_text': 'Mute/unmute Topics',
215+
'key_category': 'topic_list',
216+
}),
212217
('ENTER', {
213218
'keys': ['enter'],
214219
'help_text': 'Perform current action',
@@ -320,6 +325,7 @@ class KeyBinding(TypedDict, total=False):
320325
('searching', 'Searching'),
321326
('msg_actions', 'Actions for the selected message'),
322327
('stream_list', 'Stream list actions'),
328+
('topic_list', 'Topic list actions'),
323329
('msg_compose', 'Composing a Message'),
324330
])
325331

0 commit comments

Comments
 (0)