Update docs

This commit is contained in:
Florian Bruhin 2016-09-06 18:17:55 +02:00
parent 7c4548ece1
commit b65440e7e3
4 changed files with 15 additions and 5 deletions

View File

@ -41,6 +41,8 @@ Added
- New `:click-element` command to fake a click on a element. - New `:click-element` command to fake a click on a element.
- New `:debug-log-filter` command to change console log filtering on-the-fly. - New `:debug-log-filter` command to change console log filtering on-the-fly.
- New `:debug-log-level` command to change the console loglevel on-the-fly. - New `:debug-log-level` command to change the console loglevel on-the-fly.
- New `general -> yank-ignored-url-parameters` option to configure which URL
parameters (like `utm_source` etc.) to strip off when yanking an URL.
Changed Changed
~~~~~~~ ~~~~~~~

View File

@ -168,11 +168,11 @@ Contributors, sorted by the number of commits in descending order:
* Jimmy * Jimmy
* Niklas Haas * Niklas Haas
* Alexey "Averrin" Nabrodov * Alexey "Averrin" Nabrodov
* nanjekyejoannah
* avk * avk
* ZDarian * ZDarian
* Milan Svoboda * Milan Svoboda
* John ShaggyTwoDope Jenkins * John ShaggyTwoDope Jenkins
* nanjekyejoannah
* Peter Vilim * Peter Vilim
* Clayton Craft * Clayton Craft
* Oliver Caldwell * Oliver Caldwell

View File

@ -10,6 +10,7 @@
|Setting|Description |Setting|Description
|<<general-ignore-case,ignore-case>>|Whether to find text on a page case-insensitively. |<<general-ignore-case,ignore-case>>|Whether to find text on a page case-insensitively.
|<<general-startpage,startpage>>|The default page(s) to open at the start, separated by commas. |<<general-startpage,startpage>>|The default page(s) to open at the start, separated by commas.
|<<general-yank-ignored-url-parameters,yank-ignored-url-parameters>>|The URL parameters to strip with :yank url, separated by commas.
|<<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-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-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-config,auto-save-config>>|Whether to save the config automatically on quit.
@ -309,6 +310,12 @@ The default page(s) to open at the start, separated by commas.
Default: +pass:[https://duckduckgo.com]+ Default: +pass:[https://duckduckgo.com]+
[[general-yank-ignored-url-parameters]]
=== yank-ignored-url-parameters
The URL parameters to strip with :yank url, separated by commas.
Default: +pass:[ref,utm_source,utm_medium,utm_campaign,utm_term,utm_content]+
[[general-default-page]] [[general-default-page]]
=== default-page === default-page
The page to open if :open -t/-b/-w is used without URL. Use `about:blank` for a blank page. The page to open if :open -t/-b/-w is used without URL. Use `about:blank` for a blank page.

View File

@ -140,10 +140,11 @@ def data(readonly=False):
"The default page(s) to open at the start, separated by commas."), "The default page(s) to open at the start, separated by commas."),
('yank-ignored-url-parameters', ('yank-ignored-url-parameters',
SettingValue(typ.List(typ.String()), 'ref,utm_source,' SettingValue(typ.List(typ.String()),
'utm_medium,utm_campaign,utm_term,utm_content'), 'ref,utm_source,utm_medium,utm_campaign,utm_term,'
"The default parameters to strip on yank," 'utm_content'),
" separated by commas."), "The URL parameters to strip with :yank url, separated by "
"commas."),
('default-page', ('default-page',
SettingValue(typ.FuzzyUrl(), '${startpage}'), SettingValue(typ.FuzzyUrl(), '${startpage}'),