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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user