1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-06 10:34:13 +01:00

fix missing [count] functionality in normal mode commands

This commit is contained in:
Doug Kearns
2007-06-03 16:12:55 +00:00
parent 4a24289ab9
commit 5a552ed098
2 changed files with 3 additions and 3 deletions

View File

@@ -38,9 +38,9 @@ function Map(mode, cmds, act, extra_info) //{{{
}
// Since we will add many Map-objects, we add some functions as prototypes
// this will ensure we only have one copy of each function, not one for each object
Map.prototype.execute = function()
Map.prototype.execute = function(count)
{
this.action.call(this);
this.action.call(this, count);
}
Map.prototype.toString = function()

View File

@@ -935,7 +935,7 @@ function Vimperator()
g_count = -1;
// FIXME: allow null (= no operation) mappings. No longer applicable? -- djk
map.execute();
map.execute(g_count);
// command executed, reset input buffer
g_inputbuffer = "";