1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-22 09:25:45 +01:00

More mode display name normalisation.

This commit is contained in:
Doug Kearns
2011-08-04 16:46:05 +10:00
parent 904335c138
commit d9c2c15965
2 changed files with 4 additions and 3 deletions

View File

@@ -376,8 +376,9 @@ var Abbreviations = Module("abbreviations", {
}
addAbbreviationCommands([modes.INSERT, modes.COMMAND_LINE], "", "");
addAbbreviationCommands([modes.INSERT], "i", "INSERT");
addAbbreviationCommands([modes.COMMAND_LINE], "c", "COMMAND_LINE");
[modes.INSERT, modes.COMMAND_LINE].forEach(function (mode) {
addAbbreviationCommands([mode], mode.char, mode.displayName);
});
}
});