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

more work towards a working :Help

This commit is contained in:
Martin Stubenschrott
2008-01-04 03:28:39 +00:00
parent 23098fc5eb
commit bd66b8522e
7 changed files with 158 additions and 13 deletions

View File

@@ -1033,10 +1033,10 @@ vimperator.Commands = function () //{{{
}
));
commandManager.add(new vimperator.Command(["H[elp]"],
function (args, special, count, modifiers) { vimperator.open("chrome://vimperator/locale/" + (args || "introduction") + ".html"); },
function (args, special, count, modifiers) { vimperator.Help((args || "introduction")); },
{
shortHelp: "Temporary function, will replace :help at some time",
completer: function (filter) { return [["introduction", ""], ["options", ""]]; }
completer: function (filter) { return vimperator.completion.Help(filter); }
}
));
commandManager.add(new vimperator.Command(["hist[ory]", "hs"],