update qutebrowser configs

This commit is contained in:
Felix Van der Jeugt 2016-11-16 11:15:03 +01:00
parent 8cc48bb637
commit a17cd15b41
3 changed files with 33 additions and 19 deletions

View File

@ -460,6 +460,12 @@ 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; } } 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 z
record-macro
q
run-macro
@
[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

View File

@ -538,25 +538,27 @@ mouse-zoom-divider = 512
# #
# select-on-remove (SelectOnRemove): # select-on-remove (SelectOnRemove):
# Which tab to select when the focused tab is removed. # Which tab to select when the focused tab is removed.
# left: Select the tab on the left. # prev: Select the tab which came before the closed one (left in
# right: Select the tab on the right. # horizontal, above in vertical).
# previous: Select the previously selected tab. # next: Select the tab which came after the closed one (right in
# Default: right # horizontal, below in vertical).
# last-used: Select the previously selected tab.
# Default: next
# #
# new-tab-position (NewTabPosition): # new-tab-position (NewTabPosition):
# How new tabs are positioned. # How new tabs are positioned.
# left: On the left of the current tab. # prev: Before the current tab.
# right: On the right of the current tab. # next: After the current tab.
# first: At the left end. # first: At the beginning.
# last: At the right end. # last: At the end.
# Default: right # Default: next
# #
# new-tab-position-explicit (NewTabPosition): # new-tab-position-explicit (NewTabPosition):
# How new tabs opened explicitly are positioned. # How new tabs opened explicitly are positioned.
# left: On the left of the current tab. # prev: Before the current tab.
# right: On the right of the current tab. # next: After the current tab.
# first: At the left end. # first: At the beginning.
# last: At the right end. # last: At the end.
# Default: last # Default: last
# #
# last-close (String): # last-close (String):
@ -654,9 +656,9 @@ mouse-zoom-divider = 512
# Padding for indicators (top, bottom, left, right). # Padding for indicators (top, bottom, left, right).
# Default: 2,2,0,4 # Default: 2,2,0,4
background-tabs = true background-tabs = true
select-on-remove = right select-on-remove = next
new-tab-position = right new-tab-position = next
new-tab-position-explicit = right new-tab-position-explicit = next
last-close = close last-close = close
show = always show = always
show-switching-delay = 800 show-switching-delay = 800
@ -806,6 +808,11 @@ cache-size = 52428800
# Valid values: true, false, ask # Valid values: true, false, ask
# Default: ask # Default: ask
# #
# media-capture (BoolAsk):
# Allow websites to record audio/video.
# Valid values: true, false, ask
# Default: ask
#
# javascript-can-open-windows-automatically (Bool): # javascript-can-open-windows-automatically (Bool):
# Whether JavaScript programs can open new windows without user # Whether JavaScript programs can open new windows without user
# interaction. # interaction.
@ -895,6 +902,7 @@ css-regions = true
hyperlink-auditing = false hyperlink-auditing = false
geolocation = ask geolocation = ask
notifications = ask notifications = ask
media-capture = ask
javascript-can-open-windows-automatically = false javascript-can-open-windows-automatically = false
javascript-can-close-windows = false javascript-can-close-windows = false
javascript-can-access-clipboard = false javascript-can-access-clipboard = false

View File

@ -1,6 +1,6 @@
#!/usr/bin/python3 #!/usr/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.8.2','gui_scripts','qutebrowser' # EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.8.4','gui_scripts','qutebrowser'
__requires__ = 'qutebrowser==0.8.2' __requires__ = 'qutebrowser==0.8.4'
import re import re
import sys import sys
from pkg_resources import load_entry_point from pkg_resources import load_entry_point
@ -8,5 +8,5 @@ from pkg_resources import load_entry_point
if __name__ == '__main__': if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit( sys.exit(
load_entry_point('qutebrowser==0.8.2', 'gui_scripts', 'qutebrowser')() load_entry_point('qutebrowser==0.8.4', 'gui_scripts', 'qutebrowser')()
) )