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

View File

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

View File

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