1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 18:07:58 +01:00

move global help() command to a vimperator slot

This commit is contained in:
Doug Kearns
2007-07-04 10:11:36 +00:00
parent 8a38512346
commit 0e1eee7ae7
5 changed files with 54 additions and 51 deletions

View File

@@ -397,7 +397,7 @@ function Commands() //{{{
}
));
addDefaultCommand(new Command(["exu[sage]"],
function() { help("commands"); },
function(args, special, count, modifiers) { vimperator.help("commands", special, null, modifiers); },
{
usage: ["exu[sage]"],
short_help: "Show help for Ex commands"
@@ -427,7 +427,7 @@ function Commands() //{{{
}
));
addDefaultCommand(new Command(["h[elp]"],
help,
function(args, special, count, modifiers) { vimperator.help(args, special, null, modifiers); },
{
usage: ["h[elp] {subject}"],
short_help: "Open the help window",
@@ -620,7 +620,7 @@ function Commands() //{{{
}
));
addDefaultCommand(new Command(["se[t]"],
function(args, special)
function(args, special, count, modifiers)
{
if (args == "")
{
@@ -888,7 +888,7 @@ function Commands() //{{{
}
));
addDefaultCommand(new Command(["viu[sage]"],
function() { help("mappings"); },
function(args, special, count, modifiers) { vimperator.help("mappings", special, null, modifiers); },
{
usage: ["viu[sage]"],
short_help: "Show help for normal mode commands"