aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-11-01 11:39:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-11-01 11:39:57 +0000
commitf3e6941c9a9448883ec2df75f025840fce57ee17 (patch)
tree5903a2f108c59c28de8b9e9d1c0d3b026cf27150 /doc
parentselection: do mime-type based decoding before passing data to callback (diff)
search: add {clipboard,primary}-paste key bindings
These bindings copy from the clipboard or primary selection into the search buffer. Default bindings: * clipboard-paste: ctrl+v, ctrl+y * primary-paste: shift+insert
Diffstat (limited to 'doc')
-rw-r--r--doc/foot.1.scd6
-rw-r--r--doc/foot.ini.5.scd7
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/foot.1.scd b/doc/foot.1.scd
index 20ac9ebc..e8460cc7 100644
--- a/doc/foot.1.scd
+++ b/doc/foot.1.scd
@@ -186,6 +186,12 @@ Note that these are just the defaults; they can be changed in
Same as *ctrl*+*w*, except that the only word separating
characters are whitespace characters.
+*ctrl*+*v*, *ctrl*+*y*
+ Paste from clipboard into the searh buffer.
+
+*shift*+*insert*
+ Paste from primary selection into the search buffer.
+
*escape*, *ctrl*+*g*
Cancel the search
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd
index 73ddd883..39d874e0 100644
--- a/doc/foot.ini.5.scd
+++ b/doc/foot.ini.5.scd
@@ -452,6 +452,13 @@ scrollback search mode. The syntax is exactly the same as the regular
Extend the current selection to the next whitespace. Default:
_Control+Shift+W_.
+*clipboard-paste*
+ Paste from the _clipboard_ into the search buffer. Default:
+ _Control+v Control+y_.
+
+*primary-paste*
+ Paste from the _primary selection_ into the search
+ buffer. Default: _Shift+Insert_.
# SECTION: mouse-bindings