mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 07:02:31 +02:00
allow number input in command line
This commit is contained in:
1 parent
70c690e411
commit
c6b77df92e
2 files changed
+4
-2
No files matched your search
@@ -628,8 +628,9 @@ function Events() //{{{
|
||||
if ((vimperator.input.buffer + key).match(/^[1-9][0-9]*$/))
|
||||
{
|
||||
// no count for insert mode mappings
|
||||
if (vimperator.hasMode(vimperator.modes.INSERT))
|
||||
stop = false;
|
||||
if (vimperator.hasMode(vimperator.modes.INSERT) ||
|
||||
vimperator.hasMode(vimperator.modes.COMMAND_LINE))
|
||||
stop = false;
|
||||
else
|
||||
vimperator.input.buffer += key;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user