1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 09:08:37 +01:00

make URLs in the :bmarks output clickable

This commit is contained in:
Doug Kearns
2007-10-16 11:11:13 +00:00
parent 5c046456d1
commit be22d59c63
3 changed files with 17 additions and 2 deletions

View File

@@ -694,8 +694,18 @@ function CommandLine() //{{{
break;
case "<LeftMouse>":
if (event.originalTarget.localName.toLowerCase() == "a")
{
vimperator.open(event.originalTarget.textContent);
break;
}
case "<A-LeftMouse>":
case "<C-LeftMouse>":
if (event.originalTarget.localName.toLowerCase() == "a")
{
vimperator.open(event.originalTarget.textContent, vimperator.NEW_BACKGROUND_TAB);
break;
}
case "<S-LeftMouse>":
if (/^(end|more(-help)?)-prompt$/.test(event.target.id))
; // fall through