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

little fix (besides that I don't really understand it)

This commit is contained in:
Marco Candrian
2008-01-10 18:52:21 +00:00
parent 6605e4fa19
commit 571885a2c1

View File

@@ -996,7 +996,7 @@ vimperator.Events = function () //{{{
map = vimperator.mappings.get(vimperator.mode, candidateCommand);
var isUniqueMapping = vimperator.mappings.getCandidates(vimperator.mode, candidateCommand).filter(
function(candidate) { return !candidate.noremap; }).length == 1;
function(candidate) { return !candidate.noremap; }).length < 2;
// counts must be at the start of a complete mapping (10j -> go 10 lines down)
if (/^[1-9][0-9]*$/.test(vimperator.input.buffer + key))