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

added mail.js, <enter> and <esc> switch between normal and -- MESSAGE -- mode now

This commit is contained in:
Martin Stubenschrott
2008-02-11 15:42:52 +00:00
parent f22a5b7ea2
commit 62b053bab2
6 changed files with 87 additions and 11 deletions

View File

@@ -234,6 +234,7 @@ const vimperator = (function () //{{{
command.execute(args, special, count, modifiers);
},
// TODO: move to vimperator.buffer.focus()?
// after pressing Escape, put focus on a non-input field of the browser document
// if clearFocusedElement, also blur a focused link
focusContent: function (clearFocusedElement)
@@ -498,6 +499,11 @@ const vimperator = (function () //{{{
vimperator.buffer = vimperator.Buffer();
vimperator.log("Loading module editor...", 3);
vimperator.editor = vimperator.Editor();
if (vimperator.has("mail"))
{
vimperator.log("Loading module mail...", 3);
vimperator.mail = vimperator.Mail();
}
if (vimperator.has("tabs"))
{
vimperator.log("Loading module tabs...", 3);