From 639a61abd86c7db3e47f2cd70fc16b7d6c6afaf4 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 31 Jul 2020 17:02:53 +0200 Subject: 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 --- config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'config.c') 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, -- cgit v1.3