Navigate to hyperlinks using the keyboard #17498

Closed
opened 2026-01-31 05:44:22 +00:00 by claunia · 6 comments
Owner

Originally created by @carlos-zamora on GitHub (May 16, 2022).

Description of the new feature/enhancement

Windows Terminal supports automatic detection of hyperlinks and allows you to open the hyperlink using your mouse (specifically ctrl+clicking the link). I've realized that there's no way to do this using only the keyboard.

Once mark mode lands, the solution is a little better, but still far from perfect and on par. The user would be able to navigate to the text with the hyperlink, create a selection that encompasses it, copy the URL, then manually open it in their preferred web browser.

What if we could make this a nicer experience? Consider this...

  1. enter mark mode
  2. tab (or shift+tab) to navigate to these hyperlinks
  3. when you've navigated to the hyperlink, a selection is created that encompasses the relevant hyperlink.
  4. enter can be used to invoke the hyperlink directly

Some corner cases...

  • what if enter is bound to an action (like "copy")? --> prefer the action
  • what if we add more bookmark-like things like "prompt position" or user-configured bookmarks --> might as well navigate to them too? I'm thinking these can be tab stops.
Originally created by @carlos-zamora on GitHub (May 16, 2022). # Description of the new feature/enhancement Windows Terminal supports automatic detection of hyperlinks and allows you to open the hyperlink using your mouse (specifically ctrl+clicking the link). I've realized that there's no way to do this using only the keyboard. Once mark mode lands, the solution is a little better, but still far from perfect and on par. The user would be able to navigate to the text with the hyperlink, create a selection that encompasses it, copy the URL, then manually open it in their preferred web browser. What if we could make this a nicer experience? Consider this... 1. enter mark mode 2. <kbd>tab</kbd> (or <kbd>shift+tab</kbd>) to navigate to these hyperlinks 3. when you've navigated to the hyperlink, a selection is created that encompasses the relevant hyperlink. 4. <kbd>enter</kbd> can be used to invoke the hyperlink directly Some corner cases... - what if <kbd>enter</kbd> is bound to an action (like "copy")? --> prefer the action - what if we add more bookmark-like things like "prompt position" or user-configured bookmarks --> might as well navigate to them too? I'm thinking these can be tab stops.
Author
Owner

@zadjii-msft commented on GitHub (May 16, 2022):

what if we add more bookmark-like things like "prompt position" or user-configured bookmarks --> might as well navigate to them too? I'm thinking these can be tab stops.

Oh man do I have thoughts in #11000.

(I think we do have this somewhere else on the backlog already, but it's 5pm here)

@zadjii-msft commented on GitHub (May 16, 2022): > what if we add more bookmark-like things like "prompt position" or user-configured bookmarks --> might as well navigate to them too? I'm thinking these can be tab stops. Oh man do I have thoughts in #11000. (I think we do have this somewhere else on the backlog already, but it's 5pm here)
Author
Owner

@zadjii-msft commented on GitHub (May 16, 2022):

#6649

@zadjii-msft commented on GitHub (May 16, 2022): #6649
Author
Owner

@carlos-zamora commented on GitHub (May 16, 2022):

#6649

@carlos-zamora commented on GitHub (May 16, 2022): #6649
Author
Owner

@carlos-zamora commented on GitHub (May 16, 2022):

welp, you beat me by 2 seconds hahaha. Closing and moving this over.

Mainly doing these to add them to the inclusive feature backlog fyi

@carlos-zamora commented on GitHub (May 16, 2022): welp, you beat me by 2 seconds hahaha. Closing and moving this over. Mainly doing these to add them to the inclusive feature backlog fyi
Author
Owner

@carlos-zamora commented on GitHub (May 16, 2022):

/dup #6649

@carlos-zamora commented on GitHub (May 16, 2022): /dup #6649
Author
Owner

@ghost commented on GitHub (May 16, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (May 16, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17498