wait I can indent this now
This commit is contained in:
parent
c74a644e1b
commit
d2a11be562
@ -24,4 +24,16 @@ c.url.start_pages = ["https://calendar.google.com"]
|
|||||||
config.bind("<backspace>", "back", mode="normal")
|
config.bind("<backspace>", "back", mode="normal")
|
||||||
config.bind("x", "spawn --detach mpv {url}", mode="normal")
|
config.bind("x", "spawn --detach mpv {url}", mode="normal")
|
||||||
config.bind(";x", "hint links spawn --detach mpv {hint-url}", mode="normal")
|
config.bind(";x", "hint links spawn --detach mpv {hint-url}", mode="normal")
|
||||||
config.bind("z", '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; } }', mode="normal")
|
config.bind("z", '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; \
|
||||||
|
} \
|
||||||
|
}', mode="normal")
|
||||||
|
Loading…
Reference in New Issue
Block a user