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

changes :macro to :play + delMarcos to deleteMacros

This commit is contained in:
Marco Candrian
2008-01-21 13:23:25 +00:00
parent 2b71bd70b8
commit 6b9c2a7b0d
3 changed files with 8 additions and 9 deletions

View File

@@ -1464,7 +1464,7 @@ vimperator.Commands = function () //{{{
if (!arg)
vimperator.echoerr("E474: Invalid argument");
else
vimperator.events.delMacros(arg);
vimperator.events.deleteMacros(arg);
},
{
usage: ["delmac[ros] [regex]"],
@@ -1472,7 +1472,7 @@ vimperator.Commands = function () //{{{
help: "Delete recorded macros matching a regular expression."
}
));
commandManager.add(new vimperator.Command(["mac[ro]"],
commandManager.add(new vimperator.Command(["pl[ay]"],
function (arg)
{
if (!arg)
@@ -1481,9 +1481,8 @@ vimperator.Commands = function () //{{{
vimperator.events.playMacro(arg);
},
{
usage: ["delmac[ros] [regex]"],
shortHelp: "Delete macros matching a regex",
help: "Delete recorded macros matching a regular expression.",
usage: ["pl[ay] <macro>"],
shortHelp: "Play a macro",
completer: function (filter) { return vimperator.completion.macros(filter); }
}
));