From 26f7599a19d76ee74e374d39b1180060c7e19235 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Thu, 14 Jul 2016 23:48:14 +0200 Subject: [PATCH] update qutebrowser --- config/qutebrowser/keys.conf | 13 +++++++++++-- config/qutebrowser/qutebrowser.conf | 23 ++++++++++++++++------- local/bin/qutebrowser | 6 +++--- 3 files changed, 30 insertions(+), 12 deletions(-) diff --git a/config/qutebrowser/keys.conf b/config/qutebrowser/keys.conf index e7a7e48..22f2201 100644 --- a/config/qutebrowser/keys.conf +++ b/config/qutebrowser/keys.conf @@ -170,7 +170,7 @@ hint images tab ;I hint images tab-bg - .i + ,i hint links fill ":open {hint-url}" ;o @@ -179,7 +179,7 @@ hint links fill ":open -t {hint-url}" ;O hint links fill ":open -b {hint-url}" - .o + ,o hint links yank ;y @@ -443,6 +443,12 @@ yank -p yank -ps yP +hint inputs + ;t + +repeat-command + . + [insert] # Keybindings for insert mode. # Since normal keypresses are passed through, only special keys are @@ -541,6 +547,9 @@ prompt-yes prompt-no n +rl-complete-path + + [command,prompt] rl-backward-char diff --git a/config/qutebrowser/qutebrowser.conf b/config/qutebrowser/qutebrowser.conf index 237d2a1..818dc62 100644 --- a/config/qutebrowser/qutebrowser.conf +++ b/config/qutebrowser/qutebrowser.conf @@ -190,6 +190,11 @@ url-incdec-segments = path,query # Valid values: top, bottom # Default: top # +# status-position (VerticalPosition): +# The position of the status bar. +# Valid values: top, bottom +# Default: bottom +# # message-timeout (Int): # Time (in ms) to show messages in the statusbar for. # Default: 2000 @@ -208,11 +213,6 @@ url-incdec-segments = path,query # never: Never show a confirmation. # Default: never # -# display-statusbar-messages (Bool): -# Whether to display javascript statusbar messages. -# Valid values: true, false -# Default: false -# # zoom-text-only (Bool): # Whether the zoom factor on a frame applies only to the text or to # all content. @@ -264,6 +264,7 @@ url-incdec-segments = path,query # otherwise. # * `{id}`: The internal window ID of this window. # * `{scroll_pos}`: The page scroll position. +# * `{host}`: The host of the current web page. # Default: {perc}{title}{title_sep}qutebrowser # # hide-mouse-cursor (Bool): @@ -289,10 +290,10 @@ url-incdec-segments = path,query zoom-levels = 25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,250%,300%,400%,500% default-zoom = 100% downloads-position = top +status-position = bottom message-timeout = 2000 message-unfocused = false confirm-quit = downloads -display-statusbar-messages = false zoom-text-only = false frame-flattening = false user-stylesheet = ::-webkit-scrollbar { width: 0px; height: 0px; } @@ -619,6 +620,7 @@ mouse-zoom-divider = 512 # * `{index}`: The index of this tab. # * `{id}`: The internal tab ID of this tab. # * `{scroll_pos}`: The page scroll position. +# * `{host}`: The host of the current web page. # Default: {index}: {title} # # title-alignment (TextAlignment): @@ -953,6 +955,12 @@ enable-pdfjs = false # prev-regexes (RegexList): # A comma-separated list of regexes to use for 'prev' links. # Default: \bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,\b(<<|«)\b +# +# find-implementation (String): +# Which implementation to use to find elements to hint. +# javascript: Better but slower +# python: Slightly worse but faster +# Default: javascript border = 1px solid #E3BE23 opacity = 0.7 mode = word @@ -965,6 +973,7 @@ auto-follow = true 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 [searchengines] # Definitions of search engines which can be used via the address bar. @@ -987,7 +996,7 @@ goto = open # Colors used in the UI. # A value can be in one of the following format: # * `#RGB`/`#RRGGBB`/`#RRRGGGBBB`/`#RRRRGGGGBBBB` -# * A SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification]. +# * An SVG color name as specified in http://www.w3.org/TR/SVG/types.html#ColorKeywords[the W3C specification]. # * transparent (no color) # * `rgb(r, g, b)` / `rgba(r, g, b, a)` (values 0-255 or percentages) # * `hsv(h, s, v)` / `hsva(h, s, v, a)` (values 0-255, hue 0-359) diff --git a/local/bin/qutebrowser b/local/bin/qutebrowser index 27d3672..ac652bc 100755 --- a/local/bin/qutebrowser +++ b/local/bin/qutebrowser @@ -1,10 +1,10 @@ #!/usr/bin/python3.4 -# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.6.2','gui_scripts','qutebrowser' -__requires__ = 'qutebrowser==0.6.2' +# EASY-INSTALL-ENTRY-SCRIPT: 'qutebrowser==0.7.0','gui_scripts','qutebrowser' +__requires__ = 'qutebrowser==0.7.0' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( - load_entry_point('qutebrowser==0.6.2', 'gui_scripts', 'qutebrowser')() + load_entry_point('qutebrowser==0.7.0', 'gui_scripts', 'qutebrowser')() )