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

changed "B" mapping. Also moved tab specific mappings/commands from commands.js and mappings.js to tabs.js; This kind of changes will occur frequently in future.

This commit is contained in:
Martin Stubenschrott
2008-02-12 15:57:12 +00:00
parent 76c161a0f4
commit fec955dcb2
6 changed files with 407 additions and 388 deletions

View File

@@ -142,7 +142,7 @@ vimperator.Buffer = function () //{{{
win.scrollTo(h, v);
}
vimperator.commands.add(new vimperator.Command(["test"],
vimperator.commands.addUserCommand(new vimperator.Command(["test"],
function (args, special)
{
alert(args)
@@ -151,7 +151,7 @@ vimperator.Buffer = function () //{{{
shortHelp: "Test command"
}
));
vimperator.mappings.addDefault([vimperator.modes.NORMAL], ["w"], "Test",
vimperator.mappings.add([vimperator.modes.NORMAL], ["w"], "Test",
function () { alert("test"); }
);