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

no need to check for multiple mappings names, since they dont exist. so..

This commit is contained in:
Marco Candrian
2008-01-15 15:53:48 +00:00
parent 87ed1091aa
commit 40cc702d48
2 changed files with 5 additions and 4 deletions

View File

@@ -1620,7 +1620,7 @@ vimperator.Commands = function () //{{{
[[vimperator.modes.INSERT, vimperator.modes.TEXTAREA], "i"]];
for (var y = 0; y < mode.length; y++)
{
// names.length is about always 1 on user maps. if not, iterate here and 'fix' getUserIterator...
// NOTE: names.length is always 1 on user maps. If that changes, also fix getUserIterator and v.m.list
for (var map in vimperator.mappings.getUserIterator(mode[y][0]))
line += mode[y][1] + (map.noremap ? "nore" : "") + "map " + map.names[0] + " " + map.rhs + "\n";
}