From 062d6a7e25712f97e60428a1d40e9b6fb29e007c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= <henrik.tjader@nordicsemi.no>
Date: Sun, 21 Jan 2024 15:24:30 +0100
Subject: [PATCH] Add different bindings for passthrough mode

---
 .config/qutebrowser/config.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py
index 909285d..4578c54 100644
--- a/.config/qutebrowser/config.py
+++ b/.config/qutebrowser/config.py
@@ -74,6 +74,12 @@ config.load_autoconfig()
 config.bind('m', 'spawn mpv --ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best {url}')
 config.bind('M', 'hint links spawn mpv --ytdl-format=bestvideo[height<=?720][fps<=?30][vcodec!=?vp9]+bestaudio/best {hint-url}')
 
+config.bind('<Ctrl+q>', 'enter-mode passthrough')
+config.bind('<Ctrl+q>', 'mode-leave', mode='passthrough')
+
+config.bind('<Alt+Escape>', 'enter-mode passthrough')
+config.bind('<Alt+Escape>', 'mode-leave', mode='passthrough')
+
 config.bind('t', 'set-cmd-text -s :open -t')
 
 config.bind('<ctrl+n>', 'tab-next')
-- 
GitLab