mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 20:47:58 +01:00
applied the hintchar patch from calmar
This commit is contained in:
@@ -586,7 +586,7 @@ function Events() //{{{
|
|||||||
{
|
{
|
||||||
// if the hint is all in UPPERCASE, open it in new tab
|
// if the hint is all in UPPERCASE, open it in new tab
|
||||||
vimperator.input.buffer += key;
|
vimperator.input.buffer += key;
|
||||||
if (vimperator.input.buffer.toUpperCase() == vimperator.input.buffer)
|
if (/[A-Za-z]/.test(vimperator.input.buffer) && vimperator.input.buffer.toUpperCase() == vimperator.input.buffer)
|
||||||
vimperator.hints.openHints(true, false);
|
vimperator.hints.openHints(true, false);
|
||||||
else // open in current window
|
else // open in current window
|
||||||
vimperator.hints.openHints(false, false);
|
vimperator.hints.openHints(false, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user