aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-08-30 18:26:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-08-30 18:26:29 +0000
commitd87b791d81052faa8f3100d612f8ff56ac046924 (patch)
tree7cc5ff7999e311f3bfc64017185869bcc649d0ad /doc
parentREADME: put -> copy (diff)
man: document keyboard + mouse shortcuts
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd53
1 files changed, 53 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index 8c559d7b..798bc457 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -25,6 +25,59 @@ execute (instead of the shell).
*-v*,*--version*
Show the version number and quit
+# KEYBOARD SHORTCUTS
+
+The following keyboard shortcuts are available. Note that they cannot
+be changed.
+
+*shift*+*page up*/*page down*
+ Scroll up/down in history
+
+*ctrl*+*shift*+*c*
+ Copy selected text to the _clipboard_
+
+*ctrl*+*shift*+*v*
+ Paste from _clipboard_
+
+*ctrl*+*shift*+*r*
+ Start a scrollback search
+
+While doing a scrollback search, the following shortcuts are
+available:
+
+*ctrl*+*r*
+ Search _backward_ for the next match
+
+*ctrl*+*s*
+ Search _forward_ for the next match
+
+*escape*, *ctrl*+*g*
+ Cancel the search
+
+*return*
+ Finish the search and copy the current match to the primary
+ selection
+
+# MOUSE SHORTCUTS
+
+*left*, 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 *shift*.
+
+*left*, double-click
+ Selects the _word_ (separated by spaces, period, comma,
+ parenthesis etc) under the pointer. Hold *ctrl* to select
+ everything under the pointer up to, and until, the next space
+ characters.
+
+*left*, triple-click
+ Selects the entire row
+
+*middle*
+ Paste from the _primary_ selection
+
# FONT FORMAT