feat: press "7" to open compose modal (#1507)
This commit is contained in:
parent
3a71f2f8d5
commit
2b4edee216
|
@ -7,7 +7,7 @@
|
|||
<Shortcut key="g d" on:pressed="goto('/direct')"/>
|
||||
<Shortcut key="s" on:pressed="goto('/search')"/>
|
||||
<Shortcut key="h|?" on:pressed="showShortcutHelpDialog()"/>
|
||||
<Shortcut key="c" on:pressed="showComposeDialog()"/>
|
||||
<Shortcut key="c|7" on:pressed="showComposeDialog()"/>
|
||||
{#each $navPages as navPage, i}
|
||||
<Shortcut key={(i + 1).toString()} on:pressed="goto(navPage.href)" />
|
||||
{/each}
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
<h2>Global</h2>
|
||||
<div class="hotkey-group">
|
||||
<ul>
|
||||
<li><kbd>c</kbd> to compose a new toot</li>
|
||||
<li><kbd>s</kbd> to search</li>
|
||||
<li><kbd>1</kbd> - <kbd>6</kbd> to switch columns</li>
|
||||
<li><kbd>7</kbd> or <kbd>c</kbd> to compose a new toot</li>
|
||||
<li><kbd>s</kbd> to search</li>
|
||||
<li><kbd>g</kbd> + <kbd>h</kbd> to go home</li>
|
||||
<li><kbd>g</kbd> + <kbd>n</kbd> to go to notifications</li>
|
||||
<li><kbd>g</kbd> + <kbd>l</kbd> to go to the local timeline</li>
|
||||
|
|
Loading…
Reference in a new issue