README: use a definition list for keyboard shortcuts

This commit is contained in:
Daniel Eklöf 2020-01-01 15:01:27 +01:00
parent 19c0c3d2a4
commit 9cab0e97dd
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -90,79 +90,66 @@ is **not** possible to define new key bindings.
### Keyboard
* <kbd>shift</kbd>+<kbd>page up</kbd>/<kbd>page down</kbd>
<kbd>shift</kbd>+<kbd>page up</kbd>/<kbd>page down</kbd>
: Scroll up/down in history
Scroll up/down in history
<kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>c</kbd>
: Copy selected text to the _clipboard_
* <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>c</kbd>
<kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>v</kbd>
: Paste from _clipboard_
Copy selected text to the _clipboard_
<kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>r</kbd>
: Start a scrollback search
* <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>v</kbd>
Paste from _clipboard_
* <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>r</kbd>
Start a scrollback search
---
While doing a scrollback search, the following shortcuts are
available:
* <kbd>ctrl</kbd>+<kbd>r</kbd>
<kbd>ctrl</kbd>+<kbd>r</kbd>
: Search _backward_ for next match
Search _backward_ for next match
<kbd>ctrl</kbd>+<kbd>s</kbd>
: Search _forward_ for next match
* <kbd>ctrl</kbd>+<kbd>s</kbd>
Search _forward_ for next match
* <kbd>ctrl</kbd>+<kbd>w</kbd>
Extend current selection (and thus the search criteria) to the end
<kbd>ctrl</kbd>+<kbd>w</kbd>
: Extend current selection (and thus the search criteria) to the end
of the word, or the next word if currently at a word separating
character.
* <kbd>ctrl</kbd>+<kbd>shift</kbd><kbd>w</kbd>
Same as <kbd>ctrl</kbd>+<kbd>w</kbd>, except that the only word
<kbd>ctrl</kbd>+<kbd>shift</kbd><kbd>w</kbd>
: Same as <kbd>ctrl</kbd>+<kbd>w</kbd>, except that the only word
separating characters are whitespace characters.
* <kbd>escape</kbd>, <kbd>ctrl</kbd>+<kbd>g</kbd>
<kbd>escape</kbd>, <kbd>ctrl</kbd>+<kbd>g</kbd>
: Cancel the search
Cancel the search
* <kbd>return</kbd>
Finish the search and copy the current match to the primary
<kbd>return</kbd>
: Finish the search and copy the current match to the primary
selection
### Mouse
* <kbd>left</kbd> - **single-click**
Drag to select; when released, the selected text is copied to the
<kbd>left</kbd> - **single-click**
: Drag to select; when released, the selected text is copied to the
_primary_ selection. Note that this feature is normally **disabled**
whenever the client has enabled _mouse tracking_, but can be forced
by holding <kbd>shift</kbd>.
* <kbd>left</kbd> - **double-click**
Selects the _word_ (separated by spaces, period, comma, parenthesis
<kbd>left</kbd> - **double-click**
: Selects the _word_ (separated by spaces, period, comma, parenthesis
etc) under the pointer. Hold <kbd>ctrl</kbd> to select everything
under the pointer up to, and until, the next space characters.
* <kbd>left</kbd> - **triple-click**
<kbd>left</kbd> - **triple-click**
: Selects the entire row
Selects the entire row
<kbd>middle</kbd>
: Paste from _primary_ selection
* <kbd>middle</kbd>
Paste from _primary_ selection
* <kbd>wheel</kbd>
Scroll up/down in history
<kbd>wheel</kbd>
: Scroll up/down in history
## Server mode