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:
@@ -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"); }
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user