From 8cc48bb637fbfd1f2d4ac761b963d34958ed1b8b Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Thu, 10 Nov 2016 14:45:18 +0100 Subject: [PATCH] add wicked insert into first visible input field --- config/qutebrowser/keys.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/qutebrowser/keys.conf b/config/qutebrowser/keys.conf index 1fbe6c7..5953d4f 100644 --- a/config/qutebrowser/keys.conf +++ b/config/qutebrowser/keys.conf @@ -457,6 +457,9 @@ set-cmd-text ? set-cmd-text : : +enter-mode insert ;; jseval --quiet var inputs = document.getElementsByTagName("input"); for(var i = 0; i < inputs.length; i++) { var hidden = false; for(var j = 0; j < inputs[i].attributes.length; j++) { hidden = hidden || inputs[i].attributes[j].value.includes("hidden"); }; if(!hidden) { inputs[i].focus(); break; } } + z + [insert] # Keybindings for insert mode. # Since normal keypresses are passed through, only special keys are