mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 07:48:02 +01:00
Re-add cpt=h. Make cpt= extensible.
This commit is contained in:
@@ -316,18 +316,8 @@ function CommandLine() //{{{
|
||||
"Items which are completed at the :[tab]open prompt",
|
||||
"charlist", "sfl",
|
||||
{
|
||||
completer: function completer(filter)
|
||||
{
|
||||
return [
|
||||
["s", "Search engines and keyword URLs"],
|
||||
["f", "Local files"],
|
||||
["b", "Bookmarks"],
|
||||
["h", "History"],
|
||||
["l", "Firefox location bar entries (bookmarks and history sorted in an intelligent way)"],
|
||||
["S", "Suggest engines"]
|
||||
];
|
||||
},
|
||||
validator: function validator(value) !/[^sfbhSl]/.test(value)
|
||||
completer: function completer(filter) [k for each (k in completion.urlCompleters)],
|
||||
validator: function validator(value) value in completion.urlCompleters
|
||||
});
|
||||
|
||||
options.add(["history", "hi"],
|
||||
|
||||
Reference in New Issue
Block a user