Merge branch 'master' of github.com:The-Compiler/qutebrowser
This commit is contained in:
commit
84d2556863
@ -7,7 +7,7 @@
|
||||
|<<general-ignore-case,ignore-case>>|Whether to find text on a page case-insensitively.
|
||||
|<<general-wrap-search,wrap-search>>|Whether to wrap finding text to the top when arriving at the end.
|
||||
|<<general-startpage,startpage>>|The default page(s) to open at the start, separated by commas.
|
||||
|<<general-default-page,default-page>>|The page to open if :open -t/-b/-w is used without URL.
|
||||
|<<general-default-page,default-page>>|The page to open if :open -t/-b/-w is used without URL. Use `about:blank` for a blank page.
|
||||
|<<general-auto-search,auto-search>>|Whether to start a search when something else than a URL is entered.
|
||||
|<<general-auto-save-config,auto-save-config>>|Whether to save the config automatically on quit.
|
||||
|<<general-auto-save-interval,auto-save-interval>>|How often (in milliseconds) to auto-save config/cookies/etc.
|
||||
@ -114,8 +114,8 @@
|
||||
|==============
|
||||
|Setting|Description
|
||||
|<<storage-download-directory,download-directory>>|The directory to save downloads to. An empty value selects a sensible os-specific default. Will expand environment variables.
|
||||
|<<storage-maximum-pages-in-cache,maximum-pages-in-cache>>|The maximum number of pages to hold in the memory page cache.
|
||||
|<<storage-object-cache-capacities,object-cache-capacities>>|The capacities for the memory cache for dead objects such as stylesheets or scripts. Syntax: cacheMinDeadCapacity, cacheMaxDead, totalCapacity.
|
||||
|<<storage-maximum-pages-in-cache,maximum-pages-in-cache>>|The maximum number of pages to hold in the global memory page cache.
|
||||
|<<storage-object-cache-capacities,object-cache-capacities>>|The capacities for the global memory cache for dead objects such as stylesheets or scripts. Syntax: cacheMinDeadCapacity, cacheMaxDead, totalCapacity.
|
||||
|<<storage-offline-storage-default-quota,offline-storage-default-quota>>|Default quota for new offline storage databases.
|
||||
|<<storage-offline-web-application-cache-quota,offline-web-application-cache-quota>>|Quota for the offline web application cache.
|
||||
|<<storage-offline-storage-database,offline-storage-database>>|Whether support for the HTML 5 offline storage feature is enabled.
|
||||
@ -269,7 +269,7 @@ Default: +pass:[https://www.duckduckgo.com]+
|
||||
|
||||
[[general-default-page]]
|
||||
=== default-page
|
||||
The page to open if :open -t/-b/-w is used without URL.
|
||||
The page to open if :open -t/-b/-w is used without URL. Use `about:blank` for a blank page.
|
||||
|
||||
Default: +pass:[${startpage}]+
|
||||
|
||||
@ -990,7 +990,7 @@ Default: empty
|
||||
|
||||
[[storage-maximum-pages-in-cache]]
|
||||
=== maximum-pages-in-cache
|
||||
The maximum number of pages to hold in the memory page cache.
|
||||
The maximum number of pages to hold in the global memory page cache.
|
||||
|
||||
The Page Cache allows for a nicer user experience when navigating forth or back to pages in the forward/back history, by pausing and resuming up to _n_ pages.
|
||||
|
||||
@ -1000,7 +1000,7 @@ Default: empty
|
||||
|
||||
[[storage-object-cache-capacities]]
|
||||
=== object-cache-capacities
|
||||
The capacities for the memory cache for dead objects such as stylesheets or scripts. Syntax: cacheMinDeadCapacity, cacheMaxDead, totalCapacity.
|
||||
The capacities for the global memory cache for dead objects such as stylesheets or scripts. Syntax: cacheMinDeadCapacity, cacheMaxDead, totalCapacity.
|
||||
|
||||
The _cacheMinDeadCapacity_ specifies the minimum number of bytes that dead objects should consume when the cache is under pressure.
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
height="640"
|
||||
id="svg2"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.48.5 r10040"
|
||||
inkscape:version="0.91 r13725"
|
||||
version="1.0"
|
||||
sodipodi:docname="cheatsheet.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
@ -32,21 +32,22 @@
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="1.2432572"
|
||||
inkscape:cx="510.06077"
|
||||
inkscape:cy="514.90115"
|
||||
inkscape:zoom="0.8791156"
|
||||
inkscape:cx="327.65084"
|
||||
inkscape:cy="233.0095"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
width="1024px"
|
||||
height="640px"
|
||||
showgrid="false"
|
||||
inkscape:window-width="1024"
|
||||
inkscape:window-height="723"
|
||||
inkscape:window-width="1366"
|
||||
inkscape:window-height="768"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:window-maximized="1">
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:snap-text-baseline="true">
|
||||
<inkscape:grid
|
||||
id="GridFromPre046Settings"
|
||||
type="xygrid"
|
||||
@ -1454,23 +1455,27 @@
|
||||
x="714.29938"
|
||||
y="108.87096">)</tspan></text>
|
||||
<rect
|
||||
ry="4.3646927"
|
||||
y="363.55695"
|
||||
ry="3.3457608"
|
||||
y="363.19348"
|
||||
x="238.30771"
|
||||
height="58.443066"
|
||||
height="44.799603"
|
||||
width="361.69229"
|
||||
id="rect5017"
|
||||
style="font-size:18px;fill:#babdb6;fill-opacity:1;stroke:none" />
|
||||
<g
|
||||
id="g4061"
|
||||
transform="translate(0,-6.7232151)">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:13px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans Mono"
|
||||
x="245.32532"
|
||||
id="text5021"
|
||||
y="395.78867"
|
||||
id="text5021"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan5023"
|
||||
x="245.32532"
|
||||
y="395.78867">Space</tspan></text>
|
||||
style="font-style:normal;font-weight:normal;font-size:13px;font-family:'DejaVu Sans Mono';fill:#000000;fill-opacity:1;stroke:none"
|
||||
xml:space="preserve"><tspan
|
||||
y="395.78867"
|
||||
x="245.32532"
|
||||
id="tspan5023"
|
||||
sodipodi:role="line">Space</tspan></text>
|
||||
</g>
|
||||
<text
|
||||
id="text6971"
|
||||
y="317.98907"
|
||||
@ -2624,8 +2629,8 @@
|
||||
<flowRoot
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
|
||||
transform="translate(0,-14.539167)"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
|
||||
transform="translate(0,-38.539167)"><flowRegion
|
||||
id="flowRegion5693"><rect
|
||||
id="rect5695"
|
||||
width="322.5"
|
||||
@ -2634,8 +2639,8 @@
|
||||
y="448.75"
|
||||
style="fill:#000000" /></flowRegion><flowPara
|
||||
id="flowPara5697"
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"><flowSpan
|
||||
style="font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"><flowSpan
|
||||
style="font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#ff0000"
|
||||
id="flowSpan5705">(1)</flowSpan> copying/yanking:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5701">yy - copy/yank URL</flowPara><flowPara
|
||||
@ -2647,10 +2652,10 @@
|
||||
id="flowPara5709">yT - copy title to selection</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5711" /></flowRoot> <flowRoot
|
||||
transform="translate(0.713591,62.823906)"
|
||||
transform="translate(0.713591,38.823906)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-0"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-7"><rect
|
||||
id="rect5695-0"
|
||||
width="322.5"
|
||||
@ -2659,8 +2664,8 @@
|
||||
y="448.75"
|
||||
style="fill:#000000" /></flowRegion><flowPara
|
||||
id="flowPara5697-9"
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"><flowSpan
|
||||
style="font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"><flowSpan
|
||||
style="font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#ff0000"
|
||||
id="flowSpan5705-5">(2)</flowSpan> pasting:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5701-9">pp - open URL from clipboard</flowPara><flowPara
|
||||
@ -2668,26 +2673,26 @@
|
||||
id="flowPara5703-8">pP - open URL from selection</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5707-0">Pp - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan6101">pp</flowSpan>, in new tab</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5709-3">PP - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan6103">pP</flowSpan>, in new tab</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5763">wp - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan6105">pp</flowSpan>, in new window</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5765">wP - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan6107">pP</flowSpan>, in new window</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5711-1" /></flowRoot> <flowRoot
|
||||
transform="translate(171.2479,-14.539167)"
|
||||
transform="translate(171.2479,-38.539167)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-0-9"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-7-0"><rect
|
||||
id="rect5695-0-5"
|
||||
width="322.5"
|
||||
@ -2695,9 +2700,9 @@
|
||||
x="17.5"
|
||||
y="448.75"
|
||||
style="fill:#000000" /></flowRegion><flowPara
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"
|
||||
id="flowPara5701-9-6"><flowSpan
|
||||
style="font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#ff0000"
|
||||
id="flowSpan5705-5-8">(3)</flowSpan> navigation:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5829">[[ - click "previous"-link on page</flowPara><flowPara
|
||||
@ -2705,11 +2710,11 @@
|
||||
id="flowPara5703-8-2">]] - click "next"-link on page</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5707-0-7">{{ - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan6111">[[</flowSpan>, in new tab</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5709-3-1">}} - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan6109">]]</flowSpan>, in new tab</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5835"><Ctrl-A> - increment no. in URL</flowPara><flowPara
|
||||
@ -2769,10 +2774,10 @@
|
||||
id="tspan4936-1-1-9-2"
|
||||
style="font-size:8px;fill:#ff0000">(3)</tspan></text>
|
||||
<flowRoot
|
||||
transform="translate(169.83695,87.823906)"
|
||||
transform="translate(169.83695,63.823906)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-4"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-9"><rect
|
||||
id="rect5695-9"
|
||||
width="322.5"
|
||||
@ -2781,8 +2786,8 @@
|
||||
y="448.75"
|
||||
style="fill:#000000" /></flowRegion><flowPara
|
||||
id="flowPara5697-3"
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"><flowSpan
|
||||
style="font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"><flowSpan
|
||||
style="font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#ff0000"
|
||||
id="flowSpan5705-0">(4)</flowSpan> scrolling:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5701-8"><Ctrl-F> - page down</flowPara><flowPara
|
||||
@ -2792,59 +2797,59 @@
|
||||
id="flowPara5962"><Ctrl-D> - half page down</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5711-7"><Ctrl-U> - half page up</flowPara></flowRoot> <flowRoot
|
||||
transform="translate(360.81663,-14.539167)"
|
||||
transform="translate(360.81663,-38.539167)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-4-9"
|
||||
style="font-size:40px;font-style:normal;font-weight:bold;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans Bold"><flowRegion
|
||||
style="font-style:normal;font-weight:bold;font-size:40px;line-height:125%;font-family:Sans;-inkscape-font-specification:'Sans Bold';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-9-1"><rect
|
||||
id="rect5695-9-8"
|
||||
width="322.5"
|
||||
height="162.5"
|
||||
x="17.5"
|
||||
y="448.75"
|
||||
style="font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold" /></flowRegion><flowPara
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#000000" /></flowRegion><flowPara
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"
|
||||
id="flowPara4171">in prompt mode:</flowPara><flowPara
|
||||
style="font-size:10px;font-weight:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-weight:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara4175">Enter - accept prompt</flowPara><flowPara
|
||||
style="font-size:10px;font-weight:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-weight:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara4177">y - answer yes to prompt</flowPara><flowPara
|
||||
style="font-size:10px;font-weight:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-weight:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara4179">n - answer no to prompt</flowPara><flowPara
|
||||
style="font-size:10px;font-weight:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-weight:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara6016" /></flowRoot> <flowRoot
|
||||
transform="translate(360.8264,40.645949)"
|
||||
transform="translate(360.8264,16.645949)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-0-9-9"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans;-inkscape-font-specification:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;-inkscape-font-specification:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-7-0-2"><rect
|
||||
id="rect5695-0-5-6"
|
||||
width="322.5"
|
||||
height="162.5"
|
||||
x="17.5"
|
||||
y="448.75"
|
||||
style="font-style:normal;fill:#000000;-inkscape-font-specification:Sans" /></flowRegion><flowPara
|
||||
style="font-size:10px;font-style:normal;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-style:normal;-inkscape-font-specification:Sans;fill:#000000" /></flowRegion><flowPara
|
||||
style="font-style:normal;font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"
|
||||
id="flowPara5701-9-6-8"><flowSpan
|
||||
style="font-style:normal;font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-style:normal;font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#ff0000"
|
||||
id="flowSpan5705-5-8-3">(6)</flowSpan> opening:</flowPara><flowPara
|
||||
style="font-size:10px;font-style:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-style:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara5829-1">go - open based on cur. URL</flowPara><flowPara
|
||||
style="font-size:10px;font-style:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-style:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara5703-8-2-8">gO - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan6132">go</flowSpan>, in new tab</flowPara><flowPara
|
||||
style="font-size:10px;font-style:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-style:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara3581">xO - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan6134">go</flowSpan>, in bg. tab</flowPara><flowPara
|
||||
style="font-size:10px;font-style:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-style:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara5709-3-1-6">xo - open in background tab</flowPara><flowPara
|
||||
style="font-size:10px;font-style:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-style:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara5841-1">wo - open in new window</flowPara><flowPara
|
||||
style="font-size:10px;font-style:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-style:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara5839-8" /><flowPara
|
||||
style="font-size:10px;font-style:normal;fill:#000000;-inkscape-font-specification:Sans"
|
||||
style="font-style:normal;font-size:10px;-inkscape-font-specification:Sans;fill:#000000"
|
||||
id="flowPara5711-1-8-7" /></flowRoot> <text
|
||||
xml:space="preserve"
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:89.99999762%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:TlwgTypewriter"
|
||||
@ -2899,10 +2904,10 @@
|
||||
id="tspan6219"
|
||||
style="font-size:8px">mode</tspan></text>
|
||||
<flowRoot
|
||||
transform="translate(361.29883,121.78408)"
|
||||
transform="translate(361.29883,97.78408)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-4-9-3"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-9-1-7"><rect
|
||||
id="rect5695-9-8-7"
|
||||
width="322.5"
|
||||
@ -2911,8 +2916,8 @@
|
||||
y="448.75"
|
||||
style="fill:#000000" /></flowRegion><flowPara
|
||||
id="flowPara5697-3-7-6"
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"><flowSpan
|
||||
style="font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"><flowSpan
|
||||
style="font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#ff0000"
|
||||
id="flowSpan5705-0-4-7">(7)</flowSpan> back/forward:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara5701-8-5-8"><flowSpan
|
||||
@ -2959,10 +2964,10 @@
|
||||
style="font-size:8px;fill:#ff0000"
|
||||
id="tspan3662">(9)</tspan></tspan></text>
|
||||
<flowRoot
|
||||
transform="translate(526.15723,-14.548933)"
|
||||
transform="translate(526.15723,-38.548933)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-4-9-3-6"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-9-1-7-3"><rect
|
||||
id="rect5695-9-8-7-7"
|
||||
width="322.5"
|
||||
@ -2971,15 +2976,15 @@
|
||||
y="448.75"
|
||||
style="fill:#000000" /></flowRegion><flowPara
|
||||
id="flowPara5697-3-7-6-8"
|
||||
style="font-size:10px;font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold">(8)</flowPara><flowPara
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#ff0000">(8)</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3626-7">prefix with w - in new window</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3725" /></flowRoot> <flowRoot
|
||||
transform="translate(525.65723,34.440325)"
|
||||
transform="translate(525.65723,10.440325)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-4-9-3-1"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-9-1-7-1"><rect
|
||||
id="rect5695-9-8-7-5"
|
||||
width="322.5"
|
||||
@ -2988,8 +2993,8 @@
|
||||
y="448.75"
|
||||
style="fill:#000000" /></flowRegion><flowPara
|
||||
id="flowPara5697-3-7-6-1"
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"><flowSpan
|
||||
style="font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"><flowSpan
|
||||
style="font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#ff0000"
|
||||
id="flowSpan5705-0-4-7-6">(9)</flowSpan> extended hint mode:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3626-73">;b - open hint in background tab</flowPara><flowPara
|
||||
@ -3003,7 +3008,7 @@
|
||||
id="flowPara3794">;o - put hinted URL in cmd. line</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3796">;O - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan3798">;o</flowSpan>, in new tab</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3800">;y - yank hinted URL to clipboard</flowPara><flowPara
|
||||
@ -3013,24 +3018,24 @@
|
||||
id="flowPara3804">;r - rapid hinting</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3806">;R - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan3810">;r</flowSpan>, in new window</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3808">;d - download hinted URL</flowPara></flowRoot> <flowRoot
|
||||
transform="translate(706.84131,-14.539167)"
|
||||
transform="translate(706.84131,-38.539167)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-4-9-3-6-1"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-9-1-7-3-5"><rect
|
||||
id="rect5695-9-8-7-7-0"
|
||||
width="148.08141"
|
||||
height="203.19766"
|
||||
width="154.90645"
|
||||
height="240.73535"
|
||||
x="17.5"
|
||||
y="448.75"
|
||||
style="fill:#000000" /></flowRegion><flowPara
|
||||
id="flowPara5697-3-7-6-8-2"
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"><flowSpan
|
||||
style="font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"><flowSpan
|
||||
style="font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#ff0000"
|
||||
id="flowSpan3852">(10)</flowSpan> misc. commands:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3725-0"><flowSpan
|
||||
@ -3052,7 +3057,7 @@
|
||||
id="flowPara3915">gu - navigate up in URL</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3917">gU - like <flowSpan
|
||||
style="font-style:italic;-inkscape-font-specification:Sans Italic"
|
||||
style="font-style:italic;-inkscape-font-specification:'Sans Italic'"
|
||||
id="flowSpan3923">gu</flowSpan>, in new tab</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3921">sf - save config</flowPara><flowPara
|
||||
@ -3072,10 +3077,16 @@
|
||||
id="flowPara4169"><flowSpan
|
||||
style="fill:#0000ff"
|
||||
id="flowSpan5438">ad</flowSpan> - cancel download</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara4077">co - close other tabs</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara4081">cd - clear downloads</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3933" /><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3935" /></flowRoot> <text
|
||||
id="flowPara3935" /><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara4079" /></flowRoot> <text
|
||||
sodipodi:linespacing="89.999998%"
|
||||
id="text9514-8-9-0-8"
|
||||
y="204.26315"
|
||||
@ -3112,10 +3123,10 @@
|
||||
id="tspan4936-1-1-9-59-5"
|
||||
style="font-size:8px;fill:#ff0000">(10)</tspan></text>
|
||||
<flowRoot
|
||||
transform="translate(841.04351,-14.539167)"
|
||||
transform="translate(841.04351,-38.539167)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-4-9-3-6-1-2"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-9-1-7-3-5-2"><rect
|
||||
id="rect5695-9-8-7-7-0-9"
|
||||
width="328.31396"
|
||||
@ -3124,8 +3135,8 @@
|
||||
y="448.75"
|
||||
style="fill:#000000" /></flowRegion><flowPara
|
||||
id="flowPara5697-3-7-6-8-2-0"
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"><flowSpan
|
||||
style="font-weight:bold;fill:#ff0000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"><flowSpan
|
||||
style="font-weight:bold;-inkscape-font-specification:'Sans Bold';fill:#ff0000"
|
||||
id="flowSpan3852-6">(11)</flowSpan> modifier commands:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3933-6"><Alt-num> - select tab</flowPara><flowPara
|
||||
@ -3141,11 +3152,11 @@
|
||||
id="flowPara4138"><Ctrl-S> - stop loading</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara4140"><Ctrl-Alt-P> - print</flowPara><flowPara
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"
|
||||
id="flowPara4142">in insert mode:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara4144"><Ctrl-E> - open editor</flowPara><flowPara
|
||||
style="font-size:10px;font-weight:bold;fill:#000000;-inkscape-font-specification:Sans Bold"
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#000000"
|
||||
id="flowPara4146">in command mode:</flowPara><flowPara
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara4148"><Ctrl-P> - prev. history item</flowPara><flowPara
|
||||
@ -3154,126 +3165,142 @@
|
||||
style="font-size:18px;fill:#eeeeec;fill-opacity:1;stroke:none"
|
||||
id="rect3764-9"
|
||||
width="60"
|
||||
height="60"
|
||||
height="45.993073"
|
||||
x="168.32558"
|
||||
y="362"
|
||||
ry="4.480969" />
|
||||
ry="3.4348924" />
|
||||
<rect
|
||||
style="font-size:18px;fill:#eeeeec;fill-opacity:1;stroke:none"
|
||||
id="rect3764-9-3"
|
||||
width="60"
|
||||
height="60"
|
||||
height="45.993073"
|
||||
x="47.906979"
|
||||
y="362"
|
||||
ry="4.480969" />
|
||||
ry="3.4348924" />
|
||||
<rect
|
||||
style="font-size:18px;fill:#eeeeec;fill-opacity:1;stroke:none"
|
||||
id="rect3764-9-1"
|
||||
width="60"
|
||||
height="60"
|
||||
height="45.993073"
|
||||
x="613.81396"
|
||||
y="362"
|
||||
ry="4.480969" />
|
||||
ry="3.4348924" />
|
||||
<rect
|
||||
style="font-size:18px;fill:#eeeeec;fill-opacity:1;stroke:none"
|
||||
id="rect3764-9-7"
|
||||
width="60"
|
||||
height="60"
|
||||
height="45.993073"
|
||||
x="730.46509"
|
||||
y="362"
|
||||
ry="4.480969" />
|
||||
ry="3.4348924" />
|
||||
<g
|
||||
id="g4049"
|
||||
transform="translate(1.3728676,-1.9658966)">
|
||||
<text
|
||||
id="text7358-8"
|
||||
y="395.78867"
|
||||
x="62.269463"
|
||||
style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans Mono"
|
||||
xml:space="preserve"><tspan
|
||||
y="395.78867"
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:12px;font-family:'DejaVu Sans Mono';fill:#000000;fill-opacity:1;stroke:none"
|
||||
x="62.269463"
|
||||
y="385.78867"
|
||||
id="text7358-8"><tspan
|
||||
style="font-size:12px;font-family:'DejaVu Sans Mono'"
|
||||
sodipodi:role="line"
|
||||
id="tspan7360-1"
|
||||
sodipodi:role="line"
|
||||
style="font-size:12px;font-family:DejaVu Sans Mono">Ctrl</tspan></text>
|
||||
x="62.269463"
|
||||
y="385.78867">Ctrl</tspan></text>
|
||||
<text
|
||||
id="text7358-8-3"
|
||||
y="395.78867"
|
||||
x="745.17719"
|
||||
style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans Mono"
|
||||
xml:space="preserve"><tspan
|
||||
y="395.78867"
|
||||
x="745.17719"
|
||||
id="tspan7360-1-7"
|
||||
sodipodi:role="line"
|
||||
style="font-size:12px;font-family:DejaVu Sans Mono">Ctrl</tspan></text>
|
||||
<text
|
||||
id="text7358-8-3-8"
|
||||
y="395.78867"
|
||||
x="627.75677"
|
||||
style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans Mono"
|
||||
xml:space="preserve"><tspan
|
||||
y="395.78867"
|
||||
x="627.75677"
|
||||
id="tspan7360-1-7-0"
|
||||
sodipodi:role="line"
|
||||
style="font-size:12px;font-family:DejaVu Sans Mono">Alt</tspan></text>
|
||||
<text
|
||||
id="text7358-8-3-8-1"
|
||||
y="395.78867"
|
||||
x="186.34709"
|
||||
style="font-size:12px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans Mono"
|
||||
xml:space="preserve"><tspan
|
||||
y="395.78867"
|
||||
x="186.34709"
|
||||
id="tspan7360-1-7-0-2"
|
||||
sodipodi:role="line"
|
||||
style="font-size:12px;font-family:DejaVu Sans Mono">Alt</tspan></text>
|
||||
<text
|
||||
sodipodi:linespacing="89.999998%"
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8px;line-height:89.99999762%;font-family:TlwgTypewriter;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"
|
||||
x="67.315361"
|
||||
y="400.26315"
|
||||
id="text9514-8-9-0-8-4-0"
|
||||
y="410.26315"
|
||||
x="67.315361"
|
||||
style="font-size:8px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:89.99999762%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:TlwgTypewriter"
|
||||
xml:space="preserve"><tspan
|
||||
y="410.26315"
|
||||
x="67.315361"
|
||||
sodipodi:role="line"
|
||||
sodipodi:linespacing="89.999998%"><tspan
|
||||
style="font-size:8px;fill:#ff0000"
|
||||
id="tspan4936-1-1-9-59-8-3"
|
||||
style="font-size:8px;fill:#ff0000">(11)</tspan></text>
|
||||
sodipodi:role="line"
|
||||
x="67.315361"
|
||||
y="400.26315">(11)</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g4055"
|
||||
transform="translate(1.6278992,-11.965897)">
|
||||
<text
|
||||
sodipodi:linespacing="89.999998%"
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:12px;font-family:'DejaVu Sans Mono';fill:#000000;fill-opacity:1;stroke:none"
|
||||
x="186.34709"
|
||||
y="395.78867"
|
||||
id="text7358-8-3-8-1"><tspan
|
||||
style="font-size:12px;font-family:'DejaVu Sans Mono'"
|
||||
sodipodi:role="line"
|
||||
id="tspan7360-1-7-0-2"
|
||||
x="186.34709"
|
||||
y="395.78867">Alt</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8px;line-height:89.99999762%;font-family:TlwgTypewriter;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"
|
||||
x="187.47893"
|
||||
y="410.26315"
|
||||
id="text9514-8-9-0-8-4-0-8"
|
||||
y="410.26315"
|
||||
x="187.47893"
|
||||
style="font-size:8px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:89.99999762%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:TlwgTypewriter"
|
||||
xml:space="preserve"><tspan
|
||||
y="410.26315"
|
||||
x="187.47893"
|
||||
sodipodi:role="line"
|
||||
sodipodi:linespacing="89.999998%"><tspan
|
||||
style="font-size:8px;fill:#ff0000"
|
||||
id="tspan4936-1-1-9-59-8-3-8"
|
||||
style="font-size:8px;fill:#ff0000">(11)</tspan></text>
|
||||
sodipodi:role="line"
|
||||
x="187.47893"
|
||||
y="410.26315">(11)</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g4065"
|
||||
transform="translate(5.706604,-11.965897)">
|
||||
<text
|
||||
sodipodi:linespacing="89.999998%"
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:12px;font-family:'DejaVu Sans Mono';fill:#000000;fill-opacity:1;stroke:none"
|
||||
x="627.75677"
|
||||
y="395.78867"
|
||||
id="text7358-8-3-8"><tspan
|
||||
style="font-size:12px;font-family:'DejaVu Sans Mono'"
|
||||
sodipodi:role="line"
|
||||
id="tspan7360-1-7-0"
|
||||
x="627.75677"
|
||||
y="395.78867">Alt</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8px;line-height:89.99999762%;font-family:TlwgTypewriter;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"
|
||||
x="628.88861"
|
||||
y="410.26315"
|
||||
id="text9514-8-9-0-8-4-0-7"
|
||||
y="410.26315"
|
||||
x="628.88861"
|
||||
style="font-size:8px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:89.99999762%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:TlwgTypewriter"
|
||||
xml:space="preserve"><tspan
|
||||
y="410.26315"
|
||||
x="628.88861"
|
||||
sodipodi:role="line"
|
||||
sodipodi:linespacing="89.999998%"><tspan
|
||||
style="font-size:8px;fill:#ff0000"
|
||||
id="tspan4936-1-1-9-59-8-3-82"
|
||||
style="font-size:8px;fill:#ff0000">(11)</tspan></text>
|
||||
<text
|
||||
sodipodi:linespacing="89.999998%"
|
||||
id="text9514-8-9-0-8-4-0-3"
|
||||
y="410.26315"
|
||||
x="750.22308"
|
||||
style="font-size:8px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:89.99999762%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:TlwgTypewriter"
|
||||
xml:space="preserve"><tspan
|
||||
y="410.26315"
|
||||
x="750.22308"
|
||||
sodipodi:role="line"
|
||||
x="628.88861"
|
||||
y="410.26315">(11)</tspan></text>
|
||||
</g>
|
||||
<g
|
||||
id="g4071"
|
||||
transform="translate(1.0232544,-11.965897)">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:12px;font-family:'DejaVu Sans Mono';fill:#000000;fill-opacity:1;stroke:none"
|
||||
x="745.17719"
|
||||
y="395.78867"
|
||||
id="text7358-8-3"><tspan
|
||||
style="font-size:12px;font-family:'DejaVu Sans Mono'"
|
||||
sodipodi:role="line"
|
||||
id="tspan7360-1-7"
|
||||
x="745.17719"
|
||||
y="395.78867">Ctrl</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8px;line-height:89.99999762%;font-family:TlwgTypewriter;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"
|
||||
x="750.22308"
|
||||
y="410.26315"
|
||||
id="text9514-8-9-0-8-4-0-3"
|
||||
sodipodi:linespacing="89.999998%"><tspan
|
||||
style="font-size:8px;fill:#ff0000"
|
||||
id="tspan4936-1-1-9-59-8-3-4"
|
||||
style="font-size:8px;fill:#ff0000">(11)</tspan></text>
|
||||
sodipodi:role="line"
|
||||
x="750.22308"
|
||||
y="410.26315">(11)</tspan></text>
|
||||
</g>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:9px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:89.99999762%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:TlwgTypewriter"
|
||||
@ -3297,7 +3324,7 @@
|
||||
style="font-size:8px">tab</tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-size:8px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;text-align:start;line-height:89.99999762%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:TlwgTypewriter"
|
||||
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:8px;line-height:89.99999762%;font-family:TlwgTypewriter;text-align:start;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none"
|
||||
x="267.67316"
|
||||
y="326.20523"
|
||||
id="text10547-23-6-7"
|
||||
@ -3313,11 +3340,11 @@
|
||||
sodipodi:role="line"
|
||||
x="267.67316"
|
||||
y="340.60522"
|
||||
id="tspan5327">other</tspan><tspan
|
||||
id="tspan10562-12-5-98">other tabs</tspan><tspan
|
||||
sodipodi:role="line"
|
||||
x="267.67316"
|
||||
y="347.80524"
|
||||
id="tspan10562-12-5-98">tabs</tspan></text>
|
||||
id="tspan4045">cd: clea</tspan></text>
|
||||
<text
|
||||
sodipodi:linespacing="89.999998%"
|
||||
id="text10564-6-7-8-0"
|
||||
@ -3398,10 +3425,10 @@
|
||||
id="tspan4936-1-1-9-59-5-6"
|
||||
style="font-size:8px;fill:#ff0000">(10)</tspan></text>
|
||||
<flowRoot
|
||||
transform="translate(838.55559,158.52236)"
|
||||
transform="translate(838.55559,134.52236)"
|
||||
xml:space="preserve"
|
||||
id="flowRoot5691-4-9-3-6-6"
|
||||
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:Sans;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"><flowRegion
|
||||
id="flowRegion5693-9-1-7-3-8"><rect
|
||||
id="rect5695-9-8-7-7-6"
|
||||
width="322.5"
|
||||
@ -3412,7 +3439,7 @@
|
||||
style="font-size:10px;fill:#000000"
|
||||
id="flowPara3626-7-0"><flowSpan
|
||||
id="flowSpan5520"
|
||||
style="font-size:10px;font-weight:bold;fill:#0000ff;-inkscape-font-specification:Sans Bold">blue keys </flowSpan><flowSpan
|
||||
style="font-weight:bold;font-size:10px;-inkscape-font-specification:'Sans Bold';fill:#0000ff">blue keys </flowSpan><flowSpan
|
||||
style="fill:#0000ff"
|
||||
id="flowSpan5528">can be</flowSpan></flowPara><flowPara
|
||||
style="font-size:10px;fill:#0000ff"
|
||||
|
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 137 KiB |
@ -44,7 +44,7 @@ from qutebrowser.utils.usertypes import Completion
|
||||
|
||||
class change_filter: # pylint: disable=invalid-name
|
||||
|
||||
"""Decorator to register a new command handler.
|
||||
"""Decorator to filter calls based on a config section/option matching.
|
||||
|
||||
This could also be a function, but as a class (with a "wrong" name) it's
|
||||
much cleaner to implement.
|
||||
@ -60,7 +60,8 @@ class change_filter: # pylint: disable=invalid-name
|
||||
Gets called on parse-time with the decorator arguments.
|
||||
|
||||
Args:
|
||||
See class attributes.
|
||||
sectname: The section to be filtered.
|
||||
optname: The option to be filtered.
|
||||
"""
|
||||
if sectname not in configdata.DATA:
|
||||
raise configexc.NoSectionError(sectname)
|
||||
@ -70,7 +71,7 @@ class change_filter: # pylint: disable=invalid-name
|
||||
self._optname = optname
|
||||
|
||||
def __call__(self, func):
|
||||
"""Register the command before running the function.
|
||||
"""Filter calls to the decorated function.
|
||||
|
||||
Gets called when a function should be decorated.
|
||||
|
||||
@ -281,7 +282,7 @@ class ConfigManager(QObject):
|
||||
def __init__(self, configdir, fname, relaxed=False, parent=None):
|
||||
super().__init__(parent)
|
||||
self._initialized = False
|
||||
self.sections = configdata.DATA
|
||||
self.sections = configdata.data()
|
||||
self._interpolation = configparser.ExtendedInterpolation()
|
||||
self._proxies = {}
|
||||
for sectname in self.sections.keys():
|
||||
|
@ -23,7 +23,8 @@ Module attributes:
|
||||
|
||||
FIRST_COMMENT: The initial comment header to place in the config.
|
||||
SECTION_DESC: A dictionary with descriptions for sections.
|
||||
DATA: The config defaults, an OrderedDict of sections.
|
||||
DATA: A global read-only copy of the default config, an OrderedDict of
|
||||
sections.
|
||||
"""
|
||||
|
||||
import sys
|
||||
@ -117,7 +118,13 @@ SECTION_DESC = {
|
||||
DEFAULT_FONT_SIZE = '10pt' if sys.platform == 'darwin' else '8pt'
|
||||
|
||||
|
||||
DATA = collections.OrderedDict([
|
||||
def data(readonly=False):
|
||||
"""Get the default config data.
|
||||
|
||||
Return:
|
||||
A {name: section} OrderedDict.
|
||||
"""
|
||||
return collections.OrderedDict([
|
||||
('general', sect.KeyValue(
|
||||
('ignore-case',
|
||||
SettingValue(typ.IgnoreCase(), 'smart'),
|
||||
@ -125,7 +132,8 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('wrap-search',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether to wrap finding text to the top when arriving at the end."),
|
||||
"Whether to wrap finding text to the top when arriving at the "
|
||||
"end."),
|
||||
|
||||
('startpage',
|
||||
SettingValue(typ.List(), 'https://www.duckduckgo.com'),
|
||||
@ -133,7 +141,8 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('default-page',
|
||||
SettingValue(typ.FuzzyUrl(), '${startpage}'),
|
||||
"The page to open if :open -t/-b/-w is used without URL."),
|
||||
"The page to open if :open -t/-b/-w is used without URL. Use "
|
||||
"`about:blank` for a blank page."),
|
||||
|
||||
('auto-search',
|
||||
SettingValue(typ.AutoSearch(), 'naive'),
|
||||
@ -150,9 +159,10 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('editor',
|
||||
SettingValue(typ.ShellCommand(placeholder=True), 'gvim -f "{}"'),
|
||||
"The editor (and arguments) to use for the `open-editor` command.\n\n"
|
||||
"Use `{}` for the filename. The value gets split like in a shell, so "
|
||||
"you can use `\"` or `'` to quote arguments."),
|
||||
"The editor (and arguments) to use for the `open-editor` "
|
||||
"command.\n\n"
|
||||
"Use `{}` for the filename. The value gets split like in a "
|
||||
"shell, so you can use `\"` or `'` to quote arguments."),
|
||||
|
||||
('editor-encoding',
|
||||
SettingValue(typ.Encoding(), 'utf-8'),
|
||||
@ -166,8 +176,8 @@ DATA = collections.OrderedDict([
|
||||
('developer-extras',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Enable extra tools for Web developers.\n\n"
|
||||
"This needs to be enabled for `:inspector` to work and also adds an "
|
||||
"_Inspect_ entry to the context menu."),
|
||||
"This needs to be enabled for `:inspector` to work and also adds "
|
||||
"an _Inspect_ entry to the context menu."),
|
||||
|
||||
('print-element-backgrounds',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
@ -176,11 +186,11 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('xss-auditing',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether load requests should be monitored for cross-site scripting "
|
||||
"attempts.\n\n"
|
||||
"Suspicious scripts will be blocked and reported in the inspector's "
|
||||
"JavaScript console. Enabling this feature might have an impact on "
|
||||
"performance."),
|
||||
"Whether load requests should be monitored for cross-site "
|
||||
"scripting attempts.\n\n"
|
||||
"Suspicious scripts will be blocked and reported in the "
|
||||
"inspector's JavaScript console. Enabling this feature might "
|
||||
"have an impact on performance."),
|
||||
|
||||
('site-specific-quirks',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
@ -190,8 +200,8 @@ DATA = collections.OrderedDict([
|
||||
SettingValue(typ.String(none_ok=True), ''),
|
||||
"Default encoding to use for websites.\n\n"
|
||||
"The encoding must be a string describing an encoding such as "
|
||||
'_utf-8_, _iso-8859-1_, etc. If left empty a default value will be '
|
||||
"used."),
|
||||
"_utf-8_, _iso-8859-1_, etc. If left empty a default value will "
|
||||
"be used."),
|
||||
|
||||
('new-instance-open-target',
|
||||
SettingValue(typ.NewInstanceOpenTarget(), 'window'),
|
||||
@ -205,13 +215,15 @@ DATA = collections.OrderedDict([
|
||||
('save-session',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether to always save the open pages."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('ui', sect.KeyValue(
|
||||
('zoom-levels',
|
||||
SettingValue(typ.PercList(minval=0),
|
||||
'25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,200%,'
|
||||
'250%,300%,400%,500%'),
|
||||
'25%,33%,50%,67%,75%,90%,100%,110%,125%,150%,175%,'
|
||||
'200%,250%,300%,400%,500%'),
|
||||
"The available zoom levels, separated by commas."),
|
||||
|
||||
('default-zoom',
|
||||
@ -236,13 +248,14 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('zoom-text-only',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether the zoom factor on a frame applies only to the text or to "
|
||||
"all content."),
|
||||
"Whether the zoom factor on a frame applies only to the text or "
|
||||
"to all content."),
|
||||
|
||||
('frame-flattening',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether to expand each subframe to its contents.\n\n"
|
||||
"This will flatten all the frames to become one scrollable page."),
|
||||
"This will flatten all the frames to become one scrollable "
|
||||
"page."),
|
||||
|
||||
('user-stylesheet',
|
||||
SettingValue(typ.UserStyleSheet(),
|
||||
@ -266,14 +279,16 @@ DATA = collections.OrderedDict([
|
||||
SettingValue(typ.FormatString(fields=['perc', 'perc_raw', 'title',
|
||||
'title_sep', 'id']),
|
||||
'{perc}{title}{title_sep}qutebrowser'),
|
||||
"The format to use for the window title. The following placeholders "
|
||||
"are defined:\n\n"
|
||||
"The format to use for the window title. The following "
|
||||
"placeholders are defined:\n\n"
|
||||
"* `{perc}`: The percentage as a string like `[10%]`.\n"
|
||||
"* `{perc_raw}`: The raw percentage, e.g. `10`\n"
|
||||
"* `{title}`: The title of the current web page\n"
|
||||
"* `{title_sep}`: The string ` - ` if a title is set, empty "
|
||||
"otherwise.\n"
|
||||
"* `{id}`: The internal window ID of this window."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('network', sect.KeyValue(
|
||||
@ -292,8 +307,8 @@ DATA = collections.OrderedDict([
|
||||
('proxy',
|
||||
SettingValue(typ.Proxy(), 'system'),
|
||||
"The proxy to use.\n\n"
|
||||
"In addition to the listed values, you can use a `socks://...` or "
|
||||
"`http://...` URL."),
|
||||
"In addition to the listed values, you can use a `socks://...` "
|
||||
"or `http://...` URL."),
|
||||
|
||||
('proxy-dns-requests',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
@ -306,6 +321,8 @@ DATA = collections.OrderedDict([
|
||||
('dns-prefetch',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether to try to pre-fetch DNS entries to speed up browsing."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('completion', sect.KeyValue(
|
||||
@ -322,7 +339,8 @@ DATA = collections.OrderedDict([
|
||||
"Whether to show the autocompletion window."),
|
||||
|
||||
('height',
|
||||
SettingValue(typ.PercOrInt(minperc=0, maxperc=100, minint=1), '50%'),
|
||||
SettingValue(typ.PercOrInt(minperc=0, maxperc=100, minint=1),
|
||||
'50%'),
|
||||
"The height of the completion, in px or as percentage of the "
|
||||
"window."),
|
||||
|
||||
@ -338,13 +356,15 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('quick-complete',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether to move on to the next part when there's only one possible "
|
||||
"completion left."),
|
||||
"Whether to move on to the next part when there's only one "
|
||||
"possible completion left."),
|
||||
|
||||
('shrink',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether to shrink the completion to be smaller than the configured "
|
||||
"size if there are no scrollbars."),
|
||||
"Whether to shrink the completion to be smaller than the "
|
||||
"configured size if there are no scrollbars."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('input', sect.KeyValue(
|
||||
@ -363,12 +383,13 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('auto-leave-insert-mode',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether to leave insert mode if a non-editable element is clicked."),
|
||||
"Whether to leave insert mode if a non-editable element is "
|
||||
"clicked."),
|
||||
|
||||
('auto-insert-mode',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether to automatically enter insert mode if an editable element "
|
||||
"is focused after page load."),
|
||||
"Whether to automatically enter insert mode if an editable "
|
||||
"element is focused after page load."),
|
||||
|
||||
('forward-unbound-keys',
|
||||
SettingValue(typ.ForwardUnboundKeys(), 'auto'),
|
||||
@ -381,28 +402,32 @@ DATA = collections.OrderedDict([
|
||||
"focusable elements in a Web page, such as hyperlinks and form "
|
||||
"controls, by using Left, Right, Up and Down arrow keys. For "
|
||||
"example, if a user presses the Right key, heuristics determine "
|
||||
"whether there is an element he might be trying to reach towards the "
|
||||
"right and which element he probably wants."),
|
||||
"whether there is an element he might be trying to reach towards "
|
||||
"the right and which element he probably wants."),
|
||||
|
||||
('links-included-in-focus-chain',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether hyperlinks should be included in the keyboard focus chain."),
|
||||
"Whether hyperlinks should be included in the keyboard focus "
|
||||
"chain."),
|
||||
|
||||
('rocker-gestures',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether to enable Opera-like mouse rocker gestures. This disables "
|
||||
"the context menu."),
|
||||
"Whether to enable Opera-like mouse rocker gestures. This "
|
||||
"disables the context menu."),
|
||||
|
||||
('mouse-zoom-divider',
|
||||
SettingValue(typ.Int(minval=1), '512'),
|
||||
"How much to divide the mouse wheel movements to translate them "
|
||||
"into zoom increments."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('tabs', sect.KeyValue(
|
||||
('background-tabs',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether to open new tabs (middleclick/ctrl+click) in background."),
|
||||
"Whether to open new tabs (middleclick/ctrl+click) in "
|
||||
"background."),
|
||||
|
||||
('select-on-remove',
|
||||
SettingValue(typ.SelectOnRemove(), 'right'),
|
||||
@ -449,9 +474,10 @@ DATA = collections.OrderedDict([
|
||||
"Whether to show favicons in the tab bar."),
|
||||
|
||||
('width',
|
||||
SettingValue(typ.PercOrInt(minperc=0, maxperc=100, minint=1), '20%'),
|
||||
"The width of the tab bar if it's vertical, in px or as percentage "
|
||||
"of the window."),
|
||||
SettingValue(typ.PercOrInt(minperc=0, maxperc=100, minint=1),
|
||||
'20%'),
|
||||
"The width of the tab bar if it's vertical, in px or as "
|
||||
"percentage of the window."),
|
||||
|
||||
('indicator-width',
|
||||
SettingValue(typ.Int(minval=0), '3'),
|
||||
@ -466,9 +492,9 @@ DATA = collections.OrderedDict([
|
||||
"Whether to open windows instead of tabs."),
|
||||
|
||||
('title-format',
|
||||
SettingValue(typ.FormatString(fields=['perc', 'perc_raw', 'title',
|
||||
'title_sep', 'index', 'id']),
|
||||
'{index}: {title}'),
|
||||
SettingValue(typ.FormatString(
|
||||
fields=['perc', 'perc_raw', 'title', 'title_sep', 'index',
|
||||
'id']), '{index}: {title}'),
|
||||
"The format to use for the tab title. The following placeholders "
|
||||
"are defined:\n\n"
|
||||
"* `{perc}`: The percentage as a string like `[10%]`.\n"
|
||||
@ -478,32 +504,36 @@ DATA = collections.OrderedDict([
|
||||
"otherwise.\n"
|
||||
"* `{index}`: The index of this tab.\n"
|
||||
"* `{id}`: The internal tab ID of this tab."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('storage', sect.KeyValue(
|
||||
('download-directory',
|
||||
SettingValue(typ.Directory(none_ok=True), ''),
|
||||
"The directory to save downloads to. An empty value selects a "
|
||||
"sensible os-specific default. Will expand environment variables."),
|
||||
"sensible os-specific default. Will expand environment "
|
||||
"variables."),
|
||||
|
||||
('maximum-pages-in-cache',
|
||||
SettingValue(
|
||||
typ.Int(none_ok=True, minval=0, maxval=MAXVALS['int']), ''),
|
||||
"The maximum number of pages to hold in the memory page cache.\n\n"
|
||||
"The Page Cache allows for a nicer user experience when navigating "
|
||||
"forth or back to pages in the forward/back history, by pausing and "
|
||||
"resuming up to _n_ pages.\n\n"
|
||||
"The maximum number of pages to hold in the global memory page "
|
||||
"cache.\n\n"
|
||||
"The Page Cache allows for a nicer user experience when "
|
||||
"navigating forth or back to pages in the forward/back history, "
|
||||
"by pausing and resuming up to _n_ pages.\n\n"
|
||||
"For more information about the feature, please refer to: "
|
||||
"http://webkit.org/blog/427/webkit-page-cache-i-the-basics/"),
|
||||
|
||||
('object-cache-capacities',
|
||||
SettingValue(
|
||||
typ.WebKitBytesList(length=3, maxsize=MAXVALS['int']), ''),
|
||||
"The capacities for the memory cache for dead objects such as "
|
||||
"stylesheets or scripts. Syntax: cacheMinDeadCapacity, cacheMaxDead, "
|
||||
"totalCapacity.\n\n"
|
||||
"The _cacheMinDeadCapacity_ specifies the minimum number of bytes "
|
||||
"that dead objects should consume when the cache is under "
|
||||
"The capacities for the global memory cache for dead objects "
|
||||
"such as stylesheets or scripts. Syntax: cacheMinDeadCapacity, "
|
||||
"cacheMaxDead, totalCapacity.\n\n"
|
||||
"The _cacheMinDeadCapacity_ specifies the minimum number of "
|
||||
"bytes that dead objects should consume when the cache is under "
|
||||
"pressure.\n\n"
|
||||
"_cacheMaxDead_ is the maximum number of bytes that dead objects "
|
||||
"should consume when the cache is *not* under pressure.\n\n"
|
||||
@ -520,26 +550,31 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('offline-storage-database',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether support for the HTML 5 offline storage feature is enabled."),
|
||||
"Whether support for the HTML 5 offline storage feature is "
|
||||
"enabled."),
|
||||
|
||||
('offline-web-application-storage',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether support for the HTML 5 web application cache feature is "
|
||||
"enabled.\n\n"
|
||||
"An application cache acts like an HTTP cache in some sense. For "
|
||||
"documents that use the application cache via JavaScript, the loader "
|
||||
"engine will first ask the application cache for the contents, "
|
||||
"before hitting the network.\n\n"
|
||||
"documents that use the application cache via JavaScript, the "
|
||||
"loader engine will first ask the application cache for the "
|
||||
"contents, before hitting the network.\n\n"
|
||||
"The feature is described in details at: "
|
||||
"http://dev.w3.org/html5/spec/Overview.html#appcache"),
|
||||
|
||||
('local-storage',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether support for the HTML 5 local storage feature is enabled."),
|
||||
"Whether support for the HTML 5 local storage feature is "
|
||||
"enabled."),
|
||||
|
||||
('cache-size',
|
||||
SettingValue(typ.Int(minval=0, maxval=MAXVALS['int64']), '52428800'),
|
||||
SettingValue(typ.Int(minval=0, maxval=MAXVALS['int64']),
|
||||
'52428800'),
|
||||
"Size of the HTTP network cache."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('content', sect.KeyValue(
|
||||
@ -554,8 +589,8 @@ DATA = collections.OrderedDict([
|
||||
('allow-plugins',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Enables or disables plugins in Web pages.\n\n"
|
||||
'Qt plugins with a mimetype such as "application/x-qt-plugin" are '
|
||||
"not affected by this setting."),
|
||||
'Qt plugins with a mimetype such as "application/x-qt-plugin" '
|
||||
"are not affected by this setting."),
|
||||
|
||||
('geolocation',
|
||||
SettingValue(typ.NoAsk(), 'ask'),
|
||||
@ -580,7 +615,8 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('javascript-can-access-clipboard',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
"Whether JavaScript programs can read or write to the clipboard."),
|
||||
"Whether JavaScript programs can read or write to the "
|
||||
"clipboard."),
|
||||
|
||||
('ignore-javascript-prompt',
|
||||
SettingValue(typ.Bool(), 'false'),
|
||||
@ -597,8 +633,8 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('local-content-can-access-file-urls',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether locally loaded documents are allowed to access other local "
|
||||
"urls."),
|
||||
"Whether locally loaded documents are allowed to access other "
|
||||
"local urls."),
|
||||
|
||||
('cookies-accept',
|
||||
SettingValue(typ.AcceptCookies(), 'default'),
|
||||
@ -609,7 +645,8 @@ DATA = collections.OrderedDict([
|
||||
"Whether to store cookies."),
|
||||
|
||||
('host-block-lists',
|
||||
SettingValue(typ.UrlList(none_ok=True),
|
||||
SettingValue(
|
||||
typ.UrlList(none_ok=True),
|
||||
'http://www.malwaredomainlist.com/hostslist/hosts.txt,'
|
||||
'http://someonewhocares.org/hosts/hosts,'
|
||||
'http://winhelp2002.mvps.org/hosts.zip,'
|
||||
@ -620,12 +657,14 @@ DATA = collections.OrderedDict([
|
||||
"The file can be in one of the following formats:\n\n"
|
||||
"- An '/etc/hosts'-like file\n"
|
||||
"- One host per line\n"
|
||||
"- A zip-file of any of the above, with either only one file, or a "
|
||||
"file named 'hosts' (with any extension)."),
|
||||
"- A zip-file of any of the above, with either only one file, or "
|
||||
"a file named 'hosts' (with any extension)."),
|
||||
|
||||
('host-blocking-enabled',
|
||||
SettingValue(typ.Bool(), 'true'),
|
||||
"Whether host blocking is enabled."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('hints', sect.KeyValue(
|
||||
@ -672,15 +711,21 @@ DATA = collections.OrderedDict([
|
||||
r'\bprev(ious)?\b,\bback\b,\bolder\b,\b[<←≪]\b,'
|
||||
r'\b(<<|«)\b'),
|
||||
"A comma-separated list of regexes to use for 'prev' links."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('searchengines', sect.ValueList(
|
||||
typ.SearchEngineName(), typ.SearchEngineUrl(),
|
||||
('DEFAULT', 'https://duckduckgo.com/?q={}'),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('aliases', sect.ValueList(
|
||||
typ.String(forbidden=' '), typ.Command(),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('colors', sect.KeyValue(
|
||||
@ -726,8 +771,8 @@ DATA = collections.OrderedDict([
|
||||
"Top border color of the completion widget category headers."),
|
||||
|
||||
('completion.item.selected.border.bottom',
|
||||
SettingValue(typ.QssColor(), '${completion.item.selected.border.'
|
||||
'top}'),
|
||||
SettingValue(
|
||||
typ.QssColor(), '${completion.item.selected.border.top}'),
|
||||
"Bottom border color of the selected completion item."),
|
||||
|
||||
('completion.match.fg',
|
||||
@ -782,7 +827,8 @@ DATA = collections.OrderedDict([
|
||||
|
||||
('statusbar.url.fg.hover',
|
||||
SettingValue(typ.QssColor(), 'aqua'),
|
||||
"Foreground color of the URL in the statusbar for hovered links."),
|
||||
"Foreground color of the URL in the statusbar for hovered "
|
||||
"links."),
|
||||
|
||||
('tabs.fg.odd',
|
||||
SettingValue(typ.QtColor(), 'white'),
|
||||
@ -837,7 +883,8 @@ DATA = collections.OrderedDict([
|
||||
"Font color for the matched part of hints."),
|
||||
|
||||
('hints.bg',
|
||||
SettingValue(typ.CssColor(), '-webkit-gradient(linear, left top, '
|
||||
SettingValue(
|
||||
typ.CssColor(), '-webkit-gradient(linear, left top, '
|
||||
'left bottom, color-stop(0%,#FFF785), '
|
||||
'color-stop(100%,#FFC542))'),
|
||||
"Background color for hints."),
|
||||
@ -865,14 +912,17 @@ DATA = collections.OrderedDict([
|
||||
('downloads.bg.error',
|
||||
SettingValue(typ.QtColor(), 'red'),
|
||||
"Background color for downloads with errors."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
|
||||
('fonts', sect.KeyValue(
|
||||
('_monospace',
|
||||
SettingValue(typ.Font(), 'Terminus, Monospace, "DejaVu Sans Mono", '
|
||||
'Monaco, "Bitstream Vera Sans Mono", "Andale Mono", '
|
||||
'"Liberation Mono", "Courier New", Courier, monospace, '
|
||||
'Fixed, Consolas, Terminal'),
|
||||
SettingValue(typ.Font(), 'Terminus, Monospace, '
|
||||
'"DejaVu Sans Mono", Monaco, '
|
||||
'"Bitstream Vera Sans Mono", "Andale Mono", '
|
||||
'"Liberation Mono", "Courier New", Courier, '
|
||||
'monospace, Fixed, Consolas, Terminal'),
|
||||
"Default monospace fonts."),
|
||||
|
||||
('completion',
|
||||
@ -931,7 +981,8 @@ DATA = collections.OrderedDict([
|
||||
('web-size-minimum-logical',
|
||||
SettingValue(
|
||||
typ.Int(none_ok=True, minval=1, maxval=MAXVALS['int']), ''),
|
||||
"The minimum logical font size that is applied when zooming out."),
|
||||
"The minimum logical font size that is applied when zooming "
|
||||
"out."),
|
||||
|
||||
('web-size-default',
|
||||
SettingValue(
|
||||
@ -942,8 +993,13 @@ DATA = collections.OrderedDict([
|
||||
SettingValue(
|
||||
typ.Int(none_ok=True, minval=1, maxval=MAXVALS['int']), ''),
|
||||
"The default font size for fixed-pitch text."),
|
||||
|
||||
readonly=readonly
|
||||
)),
|
||||
])
|
||||
])
|
||||
|
||||
|
||||
DATA = data(readonly=True)
|
||||
|
||||
|
||||
KEY_FIRST_COMMENT = """
|
||||
@ -1115,6 +1171,7 @@ KEY_DATA = collections.OrderedDict([
|
||||
('inspector', ['wi']),
|
||||
('download', ['gd']),
|
||||
('download-cancel', ['ad']),
|
||||
('download-remove --all', ['cd']),
|
||||
('view-source', ['gf']),
|
||||
('tab-focus last', ['<Ctrl-Tab>']),
|
||||
('enter-mode passthrough', ['<Ctrl-V>']),
|
||||
|
@ -29,6 +29,7 @@ class Section:
|
||||
"""Base class for KeyValue/ValueList sections.
|
||||
|
||||
Attributes:
|
||||
_readonly: Whether this section is read-only.
|
||||
values: An OrderedDict with key as index and value as value.
|
||||
key: string
|
||||
value: SettingValue
|
||||
@ -38,6 +39,7 @@ class Section:
|
||||
def __init__(self):
|
||||
self.values = None
|
||||
self.descriptions = {}
|
||||
self._readonly = False
|
||||
|
||||
def __getitem__(self, key):
|
||||
"""Get the value for key.
|
||||
@ -99,13 +101,15 @@ class KeyValue(Section):
|
||||
set of keys.
|
||||
"""
|
||||
|
||||
def __init__(self, *defaults):
|
||||
def __init__(self, *defaults, readonly=False):
|
||||
"""Constructor.
|
||||
|
||||
Args:
|
||||
*defaults: A (key, value, description) list of defaults.
|
||||
readonly: Whether this config is readonly.
|
||||
"""
|
||||
super().__init__()
|
||||
self._readonly = readonly
|
||||
if not defaults:
|
||||
return
|
||||
self.values = collections.OrderedDict()
|
||||
@ -115,6 +119,8 @@ class KeyValue(Section):
|
||||
self.descriptions[k] = desc
|
||||
|
||||
def setv(self, layer, key, value, interpolated):
|
||||
if self._readonly:
|
||||
raise ValueError("Trying to modify a read-only config!")
|
||||
self.values[key].setv(layer, value, interpolated)
|
||||
|
||||
def dump_userconfig(self):
|
||||
@ -143,17 +149,20 @@ class ValueList(Section):
|
||||
keytype: The type to use for the key (only used for validating)
|
||||
valtype: The type to use for the value.
|
||||
_ordered_value_cache: A ChainMap-like OrderedDict of all values.
|
||||
_readonly: Whether this section is read-only.
|
||||
"""
|
||||
|
||||
def __init__(self, keytype, valtype, *defaults):
|
||||
def __init__(self, keytype, valtype, *defaults, readonly=False):
|
||||
"""Wrap types over default values. Take care when overriding this.
|
||||
|
||||
Args:
|
||||
keytype: The type instance to be used for keys.
|
||||
valtype: The type instance to be used for values.
|
||||
*defaults: A (key, value) list of default values.
|
||||
readonly: Whether this config is readonly.
|
||||
"""
|
||||
super().__init__()
|
||||
self._readonly = readonly
|
||||
self._ordered_value_cache = None
|
||||
self.keytype = keytype
|
||||
self.valtype = valtype
|
||||
@ -182,6 +191,8 @@ class ValueList(Section):
|
||||
return self._ordered_value_cache
|
||||
|
||||
def setv(self, layer, key, value, interpolated):
|
||||
if self._readonly:
|
||||
raise ValueError("Trying to modify a read-only config!")
|
||||
self.keytype.validate(key)
|
||||
if key in self.layers[layer]:
|
||||
self.layers[layer][key].setv(layer, value, interpolated)
|
||||
|
Loading…
Reference in New Issue
Block a user