Merge branch 'hotfix/21.56.9' into master
[gitter.git] / public / js / views / modals / tmpl / keyboard-view.hbs
blob66a531ca7f71545c036829e9bc9427a5bde5deff
1 <div class="modal-content">
2   <table class="markdown-help-content">
3     <tbody>
4       <tr>
5         <td colspan="2"><h2>Global shortcuts</h2></td>
6       </tr>
7       <tr>
8         <td><code>?</code></td>
9         <td>Open keyboard shortcut help</td>
10       </tr>
11       <tr>
12         <td><code>{{cmdKey}}</code> + <code>/</code></td>
13         <td>Toggle compose mode.</td>
14       </tr>
15       <tr>
16         <td><code>q</code> or <code>r</code></td>
17         <td>Quote selected text</td>
18       </tr>
19       <tr>
20         <td><code>{{cmdKey}}</code> + <code>s</code></td>
21         <td>Focus the search input</td>
22       </tr>
23       <tr>
24         <td><code>{{cmdKey}}</code> + <code>{{gitterKey}}</code> + <code>c</code></td>
25         <td>Focus the chat input</td>
26       </tr>
27       <tr>
28         <td><code>{{cmdKey}}</code> + <code>{{gitterKey}}</code> + <code>m</code></td>
29         <td>Show markdown help</td>
30       </tr>
31       <tr>
32         <td><code>{{cmdKey}}</code> + <code>{{gitterKey}}</code> + <code>k</code></td>
33         <td>Show keyboard shortcuts</td>
34       </tr>
35       <tr>
36         <td><code>{{cmdKey}}</code> + <code>{{gitterKey}}</code> + <code>1</code>...<code>0</code></td>
37         <td>Open item at numbered position in the menu bar</td>
38       </tr>
39       <tr>
40         <td><code>↓ ↑</code></td>
41         <td>Navigate up and down the left menu once you have focus</td>
42       </tr>
43       <tr>
44         <td><code>← →</code></td>
45         <td>Navigate between the menu bar and conversation list in the left menu once you have focus</td>
46       </tr>
47       <tr>
48         <td><code>Enter</code></td>
49         <td>Go to the selected room once you have focus</td>
50       </tr>
51       <tr>
52         <td colspan="2">
53           <h2>Chat mode shortcuts</h2>
54           <em>Active when focusing the chat input</em>
55         </td>
56       </tr>
57       <tr>
58         <td><code>{{cmdKey}}</code> + <code>Enter</code></td>
59         <td>Send message when in compose mode</td>
60       </tr>
61       <tr>
62         <td><code>↑</code></td>
63         <td>Edit previous message (if possible)</td>
64       </tr>
65     </tbody>
66   </table>
67 </div>
68 <br>