mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-05 22:04:17 +01:00
allow number input in command line
This commit is contained in:
1
Donators
1
Donators
@@ -14,6 +14,7 @@
|
|||||||
* Paulo Tanimoto
|
* Paulo Tanimoto
|
||||||
* Nathan Saper
|
* Nathan Saper
|
||||||
* Albert Menkveld
|
* Albert Menkveld
|
||||||
|
* Ian Taylor
|
||||||
|
|
||||||
I want to say a big <b>THANK YOU</b> for all people which supported this project in this way.
|
I want to say a big <b>THANK YOU</b> for all people which supported this project in this way.
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
@@ -628,8 +628,9 @@ function Events() //{{{
|
|||||||
if ((vimperator.input.buffer + key).match(/^[1-9][0-9]*$/))
|
if ((vimperator.input.buffer + key).match(/^[1-9][0-9]*$/))
|
||||||
{
|
{
|
||||||
// no count for insert mode mappings
|
// no count for insert mode mappings
|
||||||
if (vimperator.hasMode(vimperator.modes.INSERT))
|
if (vimperator.hasMode(vimperator.modes.INSERT) ||
|
||||||
stop = false;
|
vimperator.hasMode(vimperator.modes.COMMAND_LINE))
|
||||||
|
stop = false;
|
||||||
else
|
else
|
||||||
vimperator.input.buffer += key;
|
vimperator.input.buffer += key;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user