Add '/' as a hotkey for search

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2023-05-20 00:22:10 +02:00
parent 13c965f3ca
commit 7efc5e2fbd
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ const HotkeysModal: React.FC<IHotkeysModal> = ({ onClose }) => {
<TableCell><FormattedMessage id='keyboard_shortcuts.back' defaultMessage='to navigate back' /></TableCell>
</tr>
<tr>
<TableCell><Hotkey>s</Hotkey></TableCell>
<TableCell><Hotkey>s</Hotkey>, <Hotkey>/</Hotkey></TableCell>
<TableCell><FormattedMessage id='keyboard_shortcuts.search' defaultMessage='to focus search' /></TableCell>
</tr>
<tr>

View File

@ -156,7 +156,7 @@ const EmptyPage = HomePage;
const keyMap = {
help: '?',
new: 'n',
search: 's',
search: ['s', '/'],
forceNew: 'option+n',
reply: 'r',
favourite: 'f',