This commit is contained in:
the-djmaze 2024-08-06 12:02:23 +02:00
parent 4e8f12a392
commit d2f3aa1c10
2 changed files with 6 additions and 0 deletions

View file

@ -466,6 +466,11 @@ export class MailMessageView extends AbstractViewRight {
}
});
addShortcut('b', 'shift', [ScopeMessageList, ScopeMessageView], () => {
currentMessage()?.swapColors?.();
return false;
});
addShortcut('arrowup,arrowleft', 'meta', [ScopeMessageList, ScopeMessageView], () => {
this.goUpCommand();
return false;

View file

@ -65,6 +65,7 @@
<tbody>
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_FULLSCREEN_TOGGLE"></td><td>Enter, Open</td></tr>
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_BLOCKQUOTES_TOGGLE"></td><td>B</td></tr>
<tr><td data-i18n="MESSAGE/SWAP_COLORS"></td><td>Shift + B</td></tr>
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_EXIT_FULLSCREEN"></td><td>Esc, Close</td></tr>
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_CLOSE_MESSAGE"></td><td>Esc, Close</td></tr>
<tr><td data-i18n="SHORTCUTS_HELP/LABEL_SWITCH_TO_LIST"></td><td>Shift + Tab, Esc</td></tr>