mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 06:07:59 +01:00
Added comment/query about why mappings.add("F") is doing what it's doing.
This commit is contained in:
@@ -593,6 +593,16 @@ function Hints() //{{{
|
|||||||
"Start QuickHint mode",
|
"Start QuickHint mode",
|
||||||
function () { hints.show("o"); });
|
function () { hints.show("o"); });
|
||||||
|
|
||||||
|
// At the moment, "F" calls
|
||||||
|
// buffer.followLink(clicked_element, DO_WHAT_FIREFOX_DOES_WITH_CNTRL_CLICK)
|
||||||
|
// It is not clear that it shouldn't be:
|
||||||
|
// buffer.followLink(clicked_element, !DO_WHAT_FIREFOX_DOES_WITH_CNTRL_CLICK)
|
||||||
|
// In fact, it might be nice if there was a "dual" to F (like H and
|
||||||
|
// gH, except that gF is already taken). --tpp
|
||||||
|
//
|
||||||
|
// Likewise, it might be nice to have a liberator.NEW_FOREGROUND_TAB
|
||||||
|
// and then make liberator.NEW_TAB always do what a Cntrl+Click
|
||||||
|
// does. --tpp
|
||||||
mappings.add(myModes, ["F"],
|
mappings.add(myModes, ["F"],
|
||||||
"Start QuickHint mode, but open link in a new tab",
|
"Start QuickHint mode, but open link in a new tab",
|
||||||
function () { options.getPref("browser.tabs.loadInBackground") ? hints.show("b") : hints.show("t"); });
|
function () { options.getPref("browser.tabs.loadInBackground") ? hints.show("b") : hints.show("t"); });
|
||||||
|
|||||||
Reference in New Issue
Block a user