Skip to content

Commit df45f34

Browse files
committed
keys: Improve descriptions of hotkeys that switch narrows.
- Use "zoom in/out" to simplify and shorten the longest description, while also being clear on the choice of key being 'z' - Consistently use "Go to" instead of "Narrow" for the menu buttons - Introduce the usage of "feed" (combined feed & direct message feed) - Switch to using "your" instead of "all". Hotkeys document regenerated.
1 parent dd8039b commit df45f34

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Diff for: docs/hotkeys.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
|Narrow to the stream of the current message|<kbd>s</kbd>|
3535
|Narrow to the topic of the current message|<kbd>S</kbd>|
3636
|Narrow to compose box message recipient|<kbd>Meta</kbd> + <kbd>.</kbd>|
37-
|Narrow to a topic/direct-chat, or stream/all-direct-messages|<kbd>z</kbd>|
38-
|Narrow to all messages|<kbd>a</kbd> / <kbd>Esc</kbd>|
39-
|Narrow to all direct messages|<kbd>P</kbd>|
40-
|Narrow to all starred messages|<kbd>f</kbd>|
41-
|Narrow to messages in which you're mentioned|<kbd>#</kbd>|
37+
|Zoom in/out the message's conversation context|<kbd>z</kbd>|
38+
|Go to your combined feed|<kbd>a</kbd> / <kbd>Esc</kbd>|
39+
|Go to your direct message feed|<kbd>P</kbd>|
40+
|Go to your starred messages|<kbd>f</kbd>|
41+
|Go to messages in which you're mentioned|<kbd>#</kbd>|
4242

4343
## Searching
4444
|Command|Key Combination|

Diff for: zulipterminal/config/keys.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ class KeyBinding(TypedDict):
175175
'TOGGLE_NARROW': {
176176
'keys': ['z'],
177177
'help_text':
178-
'Narrow to a topic/direct-chat, or stream/all-direct-messages',
178+
"Zoom in/out the message's conversation context",
179179
'key_category': 'narrow',
180180
},
181181
'REACTION_AGREEMENT': {
@@ -190,22 +190,22 @@ class KeyBinding(TypedDict):
190190
},
191191
'ALL_MESSAGES': {
192192
'keys': ['a', 'esc'],
193-
'help_text': 'Narrow to all messages',
193+
'help_text': 'Go to your combined feed',
194194
'key_category': 'narrow',
195195
},
196196
'ALL_PM': {
197197
'keys': ['P'],
198-
'help_text': 'Narrow to all direct messages',
198+
'help_text': 'Go to your direct message feed',
199199
'key_category': 'narrow',
200200
},
201201
'ALL_STARRED': {
202202
'keys': ['f'],
203-
'help_text': 'Narrow to all starred messages',
203+
'help_text': 'Go to your starred messages',
204204
'key_category': 'narrow',
205205
},
206206
'ALL_MENTIONS': {
207207
'keys': ['#'],
208-
'help_text': "Narrow to messages in which you're mentioned",
208+
'help_text': "Go to messages in which you're mentioned",
209209
'key_category': 'narrow',
210210
},
211211
'NEXT_UNREAD_TOPIC': {

0 commit comments

Comments
 (0)