From 03844a1d6300d603eb2a9baa43ce6e8aefe6f6b4 Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 7 Sep 2024 11:15:21 -0500 Subject: [PATCH] Qutebrowser passthrough bindings for normal browser operation --- user/app/browser/qutebrowser.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/user/app/browser/qutebrowser.nix b/user/app/browser/qutebrowser.nix index 0b42860..79662af 100644 --- a/user/app/browser/qutebrowser.nix +++ b/user/app/browser/qutebrowser.nix @@ -208,11 +208,23 @@ config.bind('', 'fake-key ', mode='normal') config.bind('', 'fake-key ', mode='normal') config.bind('', 'fake-key ', mode='insert') config.bind('', 'fake-key ', mode='insert') +config.bind('', 'fake-key ', mode='passthrough') +config.bind('', 'fake-key ', mode='passthrough') # bindings from vimium config.bind('t', 'open -t') config.bind('x', 'tab-close') config.bind('yf', 'hint links yank') +config.bind('', 'tab-next') +config.bind('', 'tab-prev') + +# passthrough bindings +config.bind('', 'mode-leave', mode='passthrough') +config.bind('', 'open -t', mode='passthrough') +config.bind('', 'tab-close', mode='passthrough') +config.bind('', 'tab-next', mode='passthrough') +config.bind('', 'tab-prev', mode='passthrough') +config.bind('', 'cmd-set-text -s :quickmark-load -t', mode='passthrough') # spawn external programs config.bind(',m', 'hint links spawn mpv {hint-url}')