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

merge new :pageinfo command

This commit is contained in:
Doug Kearns
2007-10-27 01:57:50 +00:00
parent 63df7e8ba2
commit 9e78aa5f8e
4 changed files with 155 additions and 1 deletions

View File

@@ -429,6 +429,20 @@ 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",