add wicked insert into first visible input field

This commit is contained in:
Felix Van der Jeugt 2016-11-10 14:45:18 +01:00
parent 3ebc80bd0e
commit 8cc48bb637

View File

@ -457,6 +457,9 @@ set-cmd-text ?
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] [insert]
# Keybindings for insert mode. # Keybindings for insert mode.
# Since normal keypresses are passed through, only special keys are # Since normal keypresses are passed through, only special keys are