Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# qutebrowser userscript
# Set buffer to command line and tabs.show to always. When leaving the command mode, set tabs.show to switching.
fifo="$QUTE_FIFO"
case "$1" in
0)
echo "bind --mode command <Escape> leave-mode" >> $fifo
#!/bin/sh
# qutebrowser userscript
# Helper script to open external editor automatically for text input selected via hint.
# :hint inputs userscript auto-editor
# Best used with generate_ids_4_inputs.js to get every text field an id on which this script depends on.
case "$QUTE_SELECTED_HTML" in
*id=*)
tmp="${QUTE_SELECTED_HTML#*id=\"}"