mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-18 05:34:02 -04:00
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:
parent
33e25e7f93
commit
639a61abd8
8 changed files with 43 additions and 13 deletions
1
config.c
1
config.c
|
|
@ -66,6 +66,7 @@ static const char *const binding_action_map[] = {
|
|||
[BIND_ACTION_FULLSCREEN] = "fullscreen",
|
||||
[BIND_ACTION_PIPE_SCROLLBACK] = "pipe-scrollback",
|
||||
[BIND_ACTION_PIPE_VIEW] = "pipe-visible",
|
||||
[BIND_ACTION_PIPE_SELECTED] = "pipe-selected",
|
||||
};
|
||||
|
||||
static_assert(ALEN(binding_action_map) == BIND_ACTION_COUNT,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue