From 571885a2c1ebe3af40bcdc83ca0c9abe09671d62 Mon Sep 17 00:00:00 2001 From: Marco Candrian Date: Thu, 10 Jan 2008 18:52:21 +0000 Subject: [PATCH] little fix (besides that I don't really understand it) --- content/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/events.js b/content/events.js index 4f8648c6..392378fc 100644 --- a/content/events.js +++ b/content/events.js @@ -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))