1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 21:57: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

@@ -48,17 +48,17 @@ vimperator.Mail = function ()
////////////////////// MAPPINGS ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
vimperator.mappings.addDefault([vimperator.modes.NORMAL], ["<Return>", "<Space>"],
vimperator.mappings.add([vimperator.modes.NORMAL], ["<Return>", "<Space>"],
"Focus message",
function () { content.focus(); }
);
// FIXME:the following mappings do not yet work!
vimperator.mappings.addDefault([vimperator.modes.NORMAL], ["r"],
vimperator.mappings.add([vimperator.modes.NORMAL], ["r"],
"Reply to sender",
function () { goDoCommand("cmd_reply"); }
);
vimperator.mappings.addDefault([vimperator.modes.NORMAL], ["d", "<Del>"],
vimperator.mappings.add([vimperator.modes.NORMAL], ["d", "<Del>"],
"Move mail to Trash folder",
function () { goDoCommand("cmd_delete"); }
);