mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
README: use a definition list for keyboard shortcuts
This commit is contained in:
parent
19c0c3d2a4
commit
9cab0e97dd
1 changed files with 31 additions and 44 deletions
75
README.md
75
README.md
|
|
@ -90,79 +90,66 @@ is **not** possible to define new key bindings.
|
||||||
|
|
||||||
### Keyboard
|
### 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
|
While doing a scrollback search, the following shortcuts are
|
||||||
available:
|
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>
|
<kbd>ctrl</kbd>+<kbd>w</kbd>
|
||||||
|
: Extend current selection (and thus the search criteria) to the end
|
||||||
Search _forward_ for next match
|
|
||||||
|
|
||||||
* <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
|
of the word, or the next word if currently at a word separating
|
||||||
character.
|
character.
|
||||||
|
|
||||||
* <kbd>ctrl</kbd>+<kbd>shift</kbd><kbd>w</kbd>
|
<kbd>ctrl</kbd>+<kbd>shift</kbd><kbd>w</kbd>
|
||||||
|
: Same as <kbd>ctrl</kbd>+<kbd>w</kbd>, except that the only word
|
||||||
Same as <kbd>ctrl</kbd>+<kbd>w</kbd>, except that the only word
|
|
||||||
separating characters are whitespace characters.
|
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
|
selection
|
||||||
|
|
||||||
### Mouse
|
### Mouse
|
||||||
|
|
||||||
* <kbd>left</kbd> - **single-click**
|
<kbd>left</kbd> - **single-click**
|
||||||
|
: Drag to select; when released, the selected text is copied to the
|
||||||
Drag to select; when released, the selected text is copied to the
|
|
||||||
_primary_ selection. Note that this feature is normally **disabled**
|
_primary_ selection. Note that this feature is normally **disabled**
|
||||||
whenever the client has enabled _mouse tracking_, but can be forced
|
whenever the client has enabled _mouse tracking_, but can be forced
|
||||||
by holding <kbd>shift</kbd>.
|
by holding <kbd>shift</kbd>.
|
||||||
|
|
||||||
* <kbd>left</kbd> - **double-click**
|
<kbd>left</kbd> - **double-click**
|
||||||
|
: Selects the _word_ (separated by spaces, period, comma, parenthesis
|
||||||
Selects the _word_ (separated by spaces, period, comma, parenthesis
|
|
||||||
etc) under the pointer. Hold <kbd>ctrl</kbd> to select everything
|
etc) under the pointer. Hold <kbd>ctrl</kbd> to select everything
|
||||||
under the pointer up to, and until, the next space characters.
|
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>
|
<kbd>wheel</kbd>
|
||||||
|
: Scroll up/down in history
|
||||||
Paste from _primary_ selection
|
|
||||||
|
|
||||||
* <kbd>wheel</kbd>
|
|
||||||
|
|
||||||
Scroll up/down in history
|
|
||||||
|
|
||||||
|
|
||||||
## Server mode
|
## Server mode
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue