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