mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 20:37:58 +01:00
allow mapping of yy or dx, when y or d is a single char mapping
This commit is contained in:
@@ -1022,7 +1022,8 @@ vimperator.Events = function () //{{{
|
||||
}
|
||||
|
||||
}
|
||||
else if (map && !skipMap)
|
||||
// only follow a map if there isn't a longer possible mapping (allows you to do :map yy, when y is a mapping)
|
||||
else if (map && !skipMap && vimperator.mappings.getCandidates(vimperator.mode, candidateCommand).length == 1)
|
||||
{
|
||||
vimperator.input.count = parseInt(countStr, 10);
|
||||
if (isNaN(vimperator.input.count))
|
||||
|
||||
Reference in New Issue
Block a user