diff --git a/content/commands.js b/content/commands.js index f6012119..a0240cd7 100644 --- a/content/commands.js +++ b/content/commands.js @@ -805,7 +805,8 @@ vimperator.Commands = function() //{{{ if (rhs) { vimperator.mappings.add(new vimperator.Map(vimperator.modes.NORMAL, [lhs], - function() { vimperator.events.feedkeys(rhs); }, { rhs: rhs } + function(count) { vimperator.events.feedkeys((count > 1 ? count : "") + rhs); }, + { flags: vimperator.Mappings.flags.COUNT, rhs: rhs } )); } else