config: add ctrl+shift+v and XF86 paste to SEARCH_CLIPBOARD_PASTE

We now bind ctrl+v, ctrl+shift+v, ctrl+y and XF86Paste to pasting from
the clipboard into the scrollback search buffer.

Why all these? Because we can, and because all are common shortcuts
for pasting:

* ctrl+v: “normal” apps use this by default
* ctrl+shift+v: used in terminals (including foot)
* ctrl+y: Emacs
* XF86Paste: special keyboard key, for pasting
This commit is contained in:
Daniel Eklöf 2022-04-26 18:34:18 +02:00
parent 0e9ebf433b
commit aa4c7c5a30
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 9 additions and 3 deletions

View file

@ -224,7 +224,7 @@ default) available; see *foot.ini*(5).
Same as *ctrl*+*w*, except that the only word separating
characters are whitespace characters.
*ctrl*+*v*, *ctrl*+*y*
*ctrl*+*v*, *ctrl*+*shift*+*v*, *ctrl*+*y*, *XF86Paste*
Paste from clipboard into the search buffer.
*shift*+*insert*