zulip/templates/zephyr/keyboard_shortcuts.html

116 lines
3.3 KiB
HTML
Raw Normal View History

<div class="modal hide" id="keyboard-shortcuts" tabindex="-1" role="dialog"
aria-labelledby="keyboard-shortcuts-label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="keyboard-shortcuts-label">Keyboard shortcuts</h3>
</div>
<div class="modal-body">
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<thead>
<tr>
<th colspan="2">Navigation</th>
</tr>
</thead>
<tr>
<td class="hotkey">Down or j</td>
<td class="definition">Next message</td>
</tr>
<tr>
<td class="hotkey">Up or k</td>
<td class="definition">Previous message</td>
</tr>
<tr>
<td class="hotkey">/</td>
<td class="definition">Initiate a search</td>
</tr>
<tr>
<td class="hotkey">PgUp, K</td>
<td class="definition">Scroll up</td>
</tr>
<tr>
<td class="hotkey">PgDn, J, Spacebar</td>
<td class="definition">Scroll down</td>
</tr>
<tr>
<td class="hotkey">End</td>
<td class="definition">Last message</td>
</tr>
</table>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<thead>
<tr>
<th colspan="2">Composing messages</th>
</tr>
</thead>
<tr>
<td class="hotkey">c</td>
<td class="definition">New stream message</td>
</tr>
<tr>
<td class="hotkey">C</td>
<td class="definition">New private message</td>
</tr>
<tr>
<td class="hotkey">Enter or r</td>
<td class="definition">Respond to message</td>
</tr>
<tr>
<td class="hotkey">R</td>
<td class="definition">Respond to author</td>
</tr>
<tr>
<td class="hotkey">Tab then Enter</td>
<td class="definition">Send message</td>
</tr>
<tr>
<td class="hotkey">Esc</td>
<td class="definition">Cancel compose</td>
</tr>
</table>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<thead>
<tr>
<th colspan="2">Narrowing</th>
</tr>
</thead>
<tr>
<td class="hotkey">s</td>
<td class="definition">Narrow by stream</td>
</tr>
<tr>
<td class="hotkey">S</td>
<td class="definition">Narrow by topic</td>
</tr>
<tr>
<td class="hotkey">v</td>
<td class="definition">Narrow to all private messages</td>
</tr>
<tr>
<td class="hotkey">Esc</td>
<td class="definition">Return to home view</td>
</tr>
</table>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<thead>
<tr>
<th colspan="2">Menus</th>
</tr>
</thead>
<tr>
<td class="hotkey">i</td>
<td class="definition">Open message actions menu</td>
</tr>
<tr>
<td class="hotkey">?</td>
<td class="definition">Show these keyboard shortcuts</td>
</tr>
</table>
</div>
<div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>