config: add 'pipe-selected' key binding

This works just like pipe-visible and pipe-scrollback, but pipes the
user-selected text, if any, to the external tool.

Closes #51
This commit is contained in:
Daniel Eklöf 2020-07-31 17:02:53 +02:00
parent 33e25e7f93
commit 639a61abd8
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 43 additions and 13 deletions

View file

@ -251,11 +251,11 @@ e.g. *search-start=none*.
*fullscreen*
Toggles the fullscreen state. Default: _not bound_.
*pipe-visible*, *pipe-scrollback*
Pipes the currently visible text, or the entire scrollback, to an
external tool. The syntax for this option is a bit special; the
first part of the value is the command to execute enclosed in
"[]", followed by the binding(s).
*pipe-visible*, *pipe-scrollback*, *pipe-selected*
Pipes the currently visible text, the entire scrollback, or the
currently selected text to an external tool. The syntax for this
option is a bit special; the first part of the value is the
command to execute enclosed in "[]", followed by the binding(s).
You can configure multiple pipes as long as the command strings
are different and the key bindings are unique.