2

Contrary what the documentation states, ;o does not open the selected link in the current tab but either opens it in the current tab or a new tab depending on the behaviour specified by the page. How can I force a link to always open in the current tab?

1
  • 1
    The TabMixPlus extension extension gives very good control over where links are opened. I've not tried the combination you want, but the context menu always allows opening in the current tab.
    – AFH
    Oct 24 '14 at 12:52
0
  • You can use a two-step process: Copy address to clipboard, then open clipboard URL in current tab.

    ;y<hint keys>p

  • Or, without using the clipboard, directly open an :open <URL> ex prompt with the link's URL, then just hit Enter.

    ;O<hint keys>Enter

  • You can create a new command for this is you like. Add the following code to your .pentadactylrc file:

    js hints.addMode('0','Force open in current tab',function(elem) dactyl.open(elem.href));
    

    Then you can simply use ;0 followed by the hint keys.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.