From 501a9fbb5e1ec09c26cf61c464cf5b4ae6dba28a Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Tue, 22 Mar 2022 19:07:06 +0100 Subject: url-mode: add a key binding that enables “persistent” URL mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is an alternative to ‘show-urls-launch’, where we stay in URL mode after activating an URL. Closes #964 --- wayland.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'wayland.h') diff --git a/wayland.h b/wayland.h index 51b43e37..ff4f2d77 100644 --- a/wayland.h +++ b/wayland.h @@ -56,6 +56,7 @@ enum bind_action_normal { BIND_ACTION_PIPE_SELECTED, BIND_ACTION_SHOW_URLS_COPY, BIND_ACTION_SHOW_URLS_LAUNCH, + BIND_ACTION_SHOW_URLS_PERSISTENT, BIND_ACTION_TEXT_BINDING, /* Mouse specific actions - i.e. they require a mouse coordinate */ @@ -67,7 +68,7 @@ enum bind_action_normal { BIND_ACTION_SELECT_WORD_WS, BIND_ACTION_SELECT_ROW, - BIND_ACTION_KEY_COUNT = BIND_ACTION_SHOW_URLS_LAUNCH + 1, + BIND_ACTION_KEY_COUNT = BIND_ACTION_TEXT_BINDING + 1, BIND_ACTION_COUNT = BIND_ACTION_SELECT_ROW + 1, }; -- cgit v1.3