Skip to content

Commit f0016cf

Browse files
israelsgalaxyneiljp
authored andcommitted
keys: Add key for viewing message sender information.
Binds key 'u' to the 'MSG_SENDER_INFO' command which shows user information for the sender of a message.
1 parent cbafaa0 commit f0016cf

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/hotkeys.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
|Add/remove thumbs-up reaction to the current message|<kbd>+</kbd>|
5959
|Add/remove star status of the current message|<kbd>ctrl</kbd> + <kbd>s</kbd> / <kbd>*</kbd>|
6060
|Show/hide message information|<kbd>i</kbd>|
61+
|Show/hide message sender information|<kbd>u</kbd>|
6162
|Show/hide edit history (from message information)|<kbd>e</kbd>|
6263
|View current message in browser (from message information)|<kbd>v</kbd>|
6364
|Show/hide full rendered message (from message information)|<kbd>f</kbd>|

zulipterminal/config/keys.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,11 @@ class KeyBinding(TypedDict):
264264
'help_text': 'Show/hide message information',
265265
'key_category': 'msg_actions',
266266
},
267+
'MSG_SENDER_INFO': {
268+
'keys': ['u'],
269+
'help_text': 'Show/hide message sender information',
270+
'key_category': 'msg_actions',
271+
},
267272
'EDIT_HISTORY': {
268273
'keys': ['e'],
269274
'help_text': 'Show/hide edit history (from message information)',

0 commit comments

Comments
 (0)