diff --git a/common/content/configbase.js b/common/content/configbase.js index 4b042457..dd0f9b65 100644 --- a/common/content/configbase.js +++ b/common/content/configbase.js @@ -87,9 +87,9 @@ const configbase = { //{{{ /** * @property {object} A map between key names for key events should be ignored, - * and a mask of the modes in which they shoule be ignored. + * and a mask of the modes in which they should be ignored. */ - ignoreKeys: {}, + ignoreKeys: {}, // XXX: be aware you can't put useful values in here, as "modes.NORMAL" etc. are not defined at this time /** * @property {[[]]} An array of application specific mode specifications. diff --git a/common/content/liberator.js b/common/content/liberator.js index 2b90db68..21eeff96 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -561,7 +561,7 @@ const liberator = (function () //{{{ } } - // return the platform normalised to Vim values + // return the platform normalized to Vim values function getPlatformFeature() { let platform = navigator.platform; diff --git a/muttator/content/config.js b/muttator/content/config.js index 75c8e502..12100524 100644 --- a/muttator/content/config.js +++ b/muttator/content/config.js @@ -126,6 +126,16 @@ const config = { //{{{ "various.html" ],*/ + get ignoreKeys() { + delete this.ignoreKeys; + return this.ignoreKeys = { + "": modes.NORMAL | modes.INSERT, + "": modes.NORMAL | modes.INSERT, + "": modes.NORMAL | modes.INSERT, + "": modes.NORMAL | modes.INSERT, + } + }, + modes: [ ["MESSAGE", { char: "m" }], ["COMPOSE"]