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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user