From f3e6941c9a9448883ec2df75f025840fce57ee17 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 1 Nov 2020 12:39:57 +0100 Subject: 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 --- doc/foot.1.scd | 6 ++++++ doc/foot.ini.5.scd | 7 +++++++ 2 files changed, 13 insertions(+) (limited to 'doc') 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 -- cgit v1.3