config: add show-urls-copy action

This works just like show-urls-launch, except that instead of opening
the URL (typically using xdg-open), it is placed in the clipboard when
activated.
This commit is contained in:
Daniel Eklöf 2021-02-04 20:55:08 +01:00
parent b17a392b8c
commit 93181649b3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
8 changed files with 52 additions and 20 deletions

View file

@ -75,6 +75,7 @@ static const char *const binding_action_map[] = {
[BIND_ACTION_PIPE_SCROLLBACK] = "pipe-scrollback",
[BIND_ACTION_PIPE_VIEW] = "pipe-visible",
[BIND_ACTION_PIPE_SELECTED] = "pipe-selected",
[BIND_ACTION_SHOW_URLS_COPY] = "show-urls-copy",
[BIND_ACTION_SHOW_URLS_LAUNCH] = "show-urls-launch",
/* Mouse-specific actions */