Skip to content

Commit 08afa30

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 63cc282 commit 08afa30

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
@@ -198,6 +198,11 @@ source ~/.zshenv
198198
| Show/hide stream information & modify settings | <kbd>i</kbd> |
199199
| Show/hide stream members (from stream information) | <kbd>m</kbd> |
200200

201+
### Topic list actions
202+
| Command | Key Combination |
203+
|------------------------------------------------------ | --------------------------------------------- |
204+
| Mute/unmute Topics | <kbd>M</kbd> |
205+
201206
### Composing a message
202207
| Command | Key Combination |
203208
| ----------------------------------------------------- | --------------------------------------------- |

zulipterminal/config/keys.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@
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 @@
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)