update qutebrowser

This commit is contained in:
Felix Van der Jeugt 2016-08-28 09:15:28 +02:00
parent 6ba60c0dd7
commit 2a54592a46
3 changed files with 87 additions and 53 deletions

View File

@ -40,7 +40,7 @@
[!normal] [!normal]
clear-keychain ;; leave-mode leave-mode
<escape> <escape>
<ctrl-[> <ctrl-[>
@ -236,34 +236,34 @@ yank
yank -s yank -s
yY yY
yank -t yank title
yt yt
yank -ts yank title -s
yT yT
yank -d yank domain
yd yd
yank -ds yank domain -s
yD yD
paste open -- {clipboard}
pp pp
paste -s open -- {primary}
pP pP
paste -t open -t -- {clipboard}
Pp Pp
paste -ts open -t -- {primary}
PP PP
paste -w open -w -- {clipboard}
wp wp
paste -ws open -w -- {primary}
wP wP
quickmark-save quickmark-save
@ -437,10 +437,10 @@ enter-mode set_mark
enter-mode jump_mark enter-mode jump_mark
' '
yank -p yank pretty-url
yp yp
yank -ps yank pretty-url -s
yP yP
hint inputs hint inputs
@ -449,6 +449,15 @@ hint inputs
repeat-command repeat-command
. .
set-cmd-text /
/
set-cmd-text ?
?
set-cmd-text :
:
[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
@ -460,7 +469,7 @@ repeat-command
open-editor open-editor
<ctrl-e> <ctrl-e>
paste-primary insert-text {primary}
<shift-ins> <shift-ins>
[hint] [hint]
@ -494,8 +503,7 @@ hint all tab-bg
# Useful hidden commands to map in this section: # Useful hidden commands to map in this section:
# * `command-history-prev`: Switch to previous command in history. # * `command-history-prev`: Switch to previous command in history.
# * `command-history-next`: Switch to next command in history. # * `command-history-next`: Switch to next command in history.
# * `completion-item-prev`: Select previous item in completion. # * `completion-item-focus`: Select another item in completion.
# * `completion-item-next`: Select next item in completion.
# * `command-accept`: Execute the command currently in the commandline. # * `command-accept`: Execute the command currently in the commandline.
command-history-prev command-history-prev
@ -504,11 +512,11 @@ command-history-prev
command-history-next command-history-next
<ctrl-n> <ctrl-n>
completion-item-prev completion-item-focus prev
<shift-tab> <shift-tab>
<up> <up>
completion-item-next completion-item-focus next
<tab> <tab>
<down> <down>
@ -523,6 +531,12 @@ command-accept
completion-item-del completion-item-del
<ctrl-d> <ctrl-d>
completion-item-focus next-category
<ctrl-tab>
completion-item-focus prev-category
<ctrl-shift-tab>
[prompt] [prompt]
# Keybindings for prompts in the status line. # Keybindings for prompts in the status line.
# You can bind normal keys in this mode, but they will be only active # You can bind normal keys in this mode, but they will be only active
@ -654,10 +668,10 @@ move-to-start-of-document
move-to-end-of-document move-to-end-of-document
G G
yank-selected -p yank selection -s
Y Y
yank-selected yank selection
y y
<return> <return>
<ctrl-m> <ctrl-m>

View File

@ -125,6 +125,17 @@
# window: Open in a new window. # window: Open in a new window.
# Default: tab # Default: tab
# #
# new-instance-open-target.window (String):
# Which window to choose when opening links as new tabs.
# first-opened: Open new tabs in the first (oldest) opened
# window.
# last-opened: Open new tabs in the last (newest) opened window.
# last-focused: Open new tabs in the most recently focused
# window.
# last-visible: Open new tabs in the most recently visible
# window.
# Default: last-focused
#
# log-javascript-console (String): # log-javascript-console (String):
# How to log javascript console messages. # How to log javascript console messages.
# none: Don't log messages. # none: Don't log messages.
@ -162,6 +173,7 @@ xss-auditing = false
site-specific-quirks = true site-specific-quirks = true
default-encoding = default-encoding =
new-instance-open-target = tab-silent new-instance-open-target = tab-silent
new-instance-open-target.window = last-focused
log-javascript-console = none log-javascript-console = none
save-session = false save-session = false
session-default-name = session-default-name =
@ -223,7 +235,7 @@ url-incdec-segments = path,query
# User stylesheet to use (absolute filename, filename relative to # User stylesheet to use (absolute filename, filename relative to
# the config directory or CSS string). Will expand environment # the config directory or CSS string). Will expand environment
# variables. # variables.
# Default: ::-webkit-scrollbar { width: 0px; height: 0px; } # Default: html > ::-webkit-scrollbar { width: 0px; height: 0px; }
# #
# css-media-type (String): # css-media-type (String):
# Set the CSS media type. # Set the CSS media type.
@ -261,11 +273,6 @@ url-incdec-segments = path,query
# * `{host}`: The host of the current web page. # * `{host}`: The host of the current web page.
# Default: {perc}{title}{title_sep}qutebrowser # Default: {perc}{title}{title_sep}qutebrowser
# #
# hide-mouse-cursor (Bool):
# Whether to hide the mouse cursor.
# Valid values: true, false
# Default: false
#
# modal-js-dialog (Bool): # modal-js-dialog (Bool):
# Use standard JavaScript modal dialog for alert() and confirm() # Use standard JavaScript modal dialog for alert() and confirm()
# Valid values: true, false # Valid values: true, false
@ -297,7 +304,6 @@ remove-finished-downloads = -1
hide-statusbar = false hide-statusbar = false
statusbar-padding = 1,1,0,0 statusbar-padding = 1,1,0,0
window-title-format = {perc}{title}{title_sep}qutebrowser window-title-format = {perc}{title}{title_sep}qutebrowser
hide-mouse-cursor = false
modal-js-dialog = false modal-js-dialog = false
hide-wayland-decoration = false hide-wayland-decoration = false
keyhint-blacklist = keyhint-blacklist =
@ -427,7 +433,7 @@ timestamp-format = %Y-%m-%d
show = true show = true
height = 50% height = 50%
cmd-history-max-items = 100 cmd-history-max-items = 100
web-history-max-items = 10000 web-history-max-items = 100
quick-complete = true quick-complete = true
shrink = true shrink = true
scrollbar-width = 12 scrollbar-width = 12
@ -437,13 +443,13 @@ scrollbar-padding = 2
# Options related to input modes. # Options related to input modes.
# #
# timeout (Int): # timeout (Int):
# Timeout for ambiguous key bindings. # Timeout (in milliseconds) for ambiguous key bindings.
# If the current input forms both a complete match and a partial # If the current input forms both a complete match and a partial
# match, the complete match will be executed after this time. # match, the complete match will be executed after this time.
# Default: 500 # Default: 500
# #
# partial-timeout (Int): # partial-timeout (Int):
# Timeout for partially typed key bindings. # Timeout (in milliseconds) for partially typed key bindings.
# If the current input forms only partial matches, the keystring # If the current input forms only partial matches, the keystring
# will be cleared after this time. # will be cleared after this time.
# Default: 5000 # Default: 5000
@ -762,7 +768,8 @@ cache-size = 52428800
# Default: false # Default: false
# #
# webgl (Bool): # webgl (Bool):
# Enables or disables WebGL. # Enables or disables WebGL. For QtWebEngine, Qt/PyQt >= 5.7 is
# required for this setting.
# Valid values: true, false # Valid values: true, false
# Default: false # Default: false
# #
@ -895,10 +902,6 @@ enable-pdfjs = false
# CSS border value for hints. # CSS border value for hints.
# Default: 1px solid #E3BE23 # Default: 1px solid #E3BE23
# #
# opacity (Float):
# Opacity for hints.
# Default: 0.7
#
# mode (String): # mode (String):
# Mode to use for hints. # Mode to use for hints.
# number: Use numeric hints. # number: Use numeric hints.
@ -930,15 +933,24 @@ enable-pdfjs = false
# The dictionary file to be used by the word hints. # The dictionary file to be used by the word hints.
# Default: /usr/share/dict/words # Default: /usr/share/dict/words
# #
# auto-follow (Bool): # auto-follow (String):
# Follow a hint immediately when the hint text is completely # Controls when a hint can be automatically followed without the
# matched. # user pressing Enter.
# Valid values: true, false # always: Auto-follow whenever there is only a single hint on a
# Default: true # page.
# unique-match: Auto-follow whenever there is a unique non-empty
# match in either the hint string (word mode) or filter (number
# mode).
# full-match: Follow the hint when the user typed the whole hint
# (letter, word or number mode) or the element's text (only in
# number mode).
# never: The user will always need to press Enter to follow a
# hint.
# Default: unique-match
# #
# auto-follow-timeout (Int): # auto-follow-timeout (Int):
# A timeout to inhibit normal-mode key bindings after a # A timeout (in milliseconds) to inhibit normal-mode key bindings
# successfulauto-follow. # after a successful auto-follow.
# Default: 0 # Default: 0
# #
# next-regexes (List of Regex): # next-regexes (List of Regex):
@ -955,19 +967,24 @@ enable-pdfjs = false
# javascript: Better but slower # javascript: Better but slower
# python: Slightly worse but faster # python: Slightly worse but faster
# Default: python # Default: python
#
# hide-unmatched-rapid-hints (Bool):
# Controls hiding unmatched hints in rapid mode.
# Valid values: true, false
# Default: true
border = 1px solid #E3BE23 border = 1px solid #E3BE23
opacity = 0.7
mode = word mode = word
chars = asdfghjkl chars = asdfghjkl
min-chars = 1 min-chars = 1
scatter = true scatter = true
uppercase = false uppercase = false
dictionary = /usr/share/dict/mnemonic dictionary = /usr/share/dict/mnemonic
auto-follow = true auto-follow = unique-match
auto-follow-timeout = 0 auto-follow-timeout = 0
next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b next-regexes = \bnext\b,\bmore\b,\bnewer\b,\b[>→≫]\b,\b(>>|»)\b
prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b prev-regexes = \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b
find-implementation = javascript find-implementation = javascript
hide-unmatched-rapid-hints = true
[searchengines] [searchengines]
# Definitions of search engines which can be used via the address bar. # Definitions of search engines which can be used via the address bar.
@ -1209,16 +1226,17 @@ goto = open
# none: Don't show a gradient. # none: Don't show a gradient.
# Default: rgb # Default: rgb
# #
# hints.fg (CssColor): # hints.fg (QssColor):
# Font color for hints. # Font color for hints.
# Default: black # Default: black
# #
# hints.bg (CssColor): # hints.bg (QssColor):
# Background color for hints. # Background color for hints. Note that you can use a `rgba(...)`
# Default: -webkit-gradient(linear, left top, left bottom, # value for transparency.
# color-stop(0%,#FFF785), color-stop(100%,#FFC542)) # Default: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255,
# 247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8))
# #
# hints.fg.match (CssColor): # hints.fg.match (QssColor):
# Font color for the matched part of hints. # Font color for the matched part of hints.
# Default: green # Default: green
# #
@ -1333,7 +1351,7 @@ tabs.indicator.stop = #00aa00
tabs.indicator.error = #ff0000 tabs.indicator.error = #ff0000
tabs.indicator.system = rgb tabs.indicator.system = rgb
hints.fg = black hints.fg = black
hints.bg = -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFF785), color-stop(100%,#FFC542)) hints.bg = qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgba(255, 247, 133, 0.8), stop:1 rgba(255, 197, 66, 0.8))
hints.fg.match = green hints.fg.match = green
downloads.bg.bar = black downloads.bg.bar = black
downloads.fg.start = #ffffff downloads.fg.start = #ffffff
@ -1383,7 +1401,7 @@ keyhint.bg = rgba(0, 0, 0, 80%)
# #
# hints (Font): # hints (Font):
# Font used for the hints. # Font used for the hints.
# Default: bold 13px Monospace # Default: bold 13px ${_monospace}
# #
# debug-console (QtFont): # debug-console (QtFont):
# Font used for the debugging console. # Font used for the debugging console.
@ -1438,7 +1456,7 @@ completion.category = bold ${completion}
tabbar = 8pt ${_monospace} tabbar = 8pt ${_monospace}
statusbar = 8pt ${_monospace} statusbar = 8pt ${_monospace}
downloads = 8pt ${_monospace} downloads = 8pt ${_monospace}
hints = bold 12px Monospace hints = bold 12px ${_monospace}
debug-console = 8pt ${_monospace} debug-console = 8pt ${_monospace}
web-family-standard = web-family-standard =
web-family-fixed = web-family-fixed =

View File

@ -1,10 +1,12 @@
#!/usr/bin/python3.4 #!/usr/bin/python3.4
# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.8.1','gui_scripts','qutebrowser' # EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.8.1','gui_scripts','qutebrowser'
__requires__ = 'qutebrowser==0.8.1' __requires__ = 'qutebrowser==0.8.1'
import re
import sys import sys
from pkg_resources import load_entry_point 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.exit( sys.exit(
load_entry_point('qutebrowser==0.8.1', 'gui_scripts', 'qutebrowser')() load_entry_point('qutebrowser==0.8.1', 'gui_scripts', 'qutebrowser')()
) )