aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:02:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-07-31 15:04:30 +0000
commit639a61abd86c7db3e47f2cd70fc16b7d6c6afaf4 (patch)
tree8693442620f98a0ba8e67dac03868cae62e86435 /config.c
parentinstall: tllist is a *build* dependency, not a *runtime* dependency (diff)
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
Diffstat (limited to 'config.c')
-rw-r--r--config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.c b/config.c
index a1329573..6d2c3541 100644
--- a/config.c
+++ b/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,