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

initial number support for hints, unpolished however

This commit is contained in:
Martin Stubenschrott
2007-10-31 16:31:15 +00:00
parent 346c8abb4b
commit 418181ad1e
4 changed files with 1452 additions and 2625 deletions

View File

@@ -429,12 +429,6 @@ vimperator.Options = function() //{{{
default_value: "homepage,quickmark,tabopen,paste"
}
));
this.add(new vimperator.Option(["autohints", "ah"], "boolean",
{
short_help: "Automatically show hints on every web page",
default_value: false
}
));
this.add(new vimperator.Option(["complete", "cpt"], "charlist",
{
short_help: "Items which are completed at the :[tab]open prompt",
@@ -505,10 +499,11 @@ vimperator.Options = function() //{{{
validator: function (value) { if (/[^mTb]/.test(value)) return false; else return true; }
}
));
this.add(new vimperator.Option(["hintchars", "hc"], "charlist",
this.add(new vimperator.Option(["hinttimeout", "hto"], "number",
{
short_help: "String of single characters which can be used to follow hints",
default_value: "hjklasdfgyuiopqwertnmzxcvb"
short_help: "Automatically follow non unique numerical hint after {arg} ms",
default_value: 500,
validator: function (value) { if (value >= 0) return true; else return false; }
}
));
this.add(new vimperator.Option(["hintstyle", "hs"], "string",