1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 18:17:58 +01:00

merge new support for feeds in :pageinfo

This commit is contained in:
Doug Kearns
2007-11-07 11:31:37 +00:00
parent f1b878a1cc
commit 38696c37bb
3 changed files with 193 additions and 68 deletions

View File

@@ -429,20 +429,6 @@ vimperator.Options = function() //{{{
default_value: "homepage,quickmark,tabopen,paste"
}
));
this.add(new vimperator.Option(["pageinfo", "pa"], "charlist",
{
short_help: "Desired info on :pa[geinfo]",
help: "Available items:<br/>" +
"<ul>" +
"<li><b>g</b>: general info</li>" +
"<li><b>m</b>: meta tags</li>" +
"</ul>" +
"The order matters",
default_value: "gm",
validator: function (value) { if (/[^gm]/.test(value) || value.length > 2 ||
value.length < 1) return false; else return true; }
}
));
this.add(new vimperator.Option(["complete", "cpt"], "charlist",
{
short_help: "Items which are completed at the :[tab]open prompt",
@@ -585,6 +571,20 @@ vimperator.Options = function() //{{{
validator: function (value) { if (value >= 1 && value <= 1000) return true; else return false; }
}
));
this.add(new vimperator.Option(["pageinfo", "pa"], "charlist",
{
short_help: "Desired info on :pa[geinfo]",
help: "Available items:<br/>" +
"<ul>" +
"<li><b>g</b>: general info</li>" +
"<li><b>f</b>: feeds</li>" +
"<li><b>m</b>: meta tags</li>" +
"</ul>" +
"The order matters",
default_value: "gfm",
validator: function (value) { return !(/[^gfm]/.test(value) || value.length > 3 || value.length < 1) }
}
));
this.add(new vimperator.Option(["popups", "pps"], "number",
{
short_help: "Where to show requested popup windows",