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
This commit is contained in:
Daniel Eklöf 2020-11-01 12:39:57 +01:00
parent 43f293f22e
commit f3e6941c9a
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 90 additions and 25 deletions

View file

@ -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