Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: "persistent" link hint mode #1105

Open
revsuine opened this issue Mar 5, 2024 · 3 comments
Open

Feature request: "persistent" link hint mode #1105

revsuine opened this issue Mar 5, 2024 · 3 comments

Comments

@revsuine
Copy link

revsuine commented Mar 5, 2024

What command or commands

Sometimes I want to follow multiple links/multiple button presses in rapid succession. Currently I have to press f before every button/link press. I would like to add a mode you can enter to stay in a "persistent" link hint mode until the user presses Esc (or some other escape keybind).

How should a feature do

When a user has done such steps:

Enter this mode with a keybind

then Vimium C should do:

Display link hints as Vimium currently does by default when pressing f. Follow links when the user presses the relevant keys.

Re-generate link hints either upon page refresh or upon following a link/button (or both).

Remain in this mode until the user escapes from it with an escape keybind, probably just the Esc key by default.

If this is already possible, please let me know, I would like to use this feature :) Thanks!

Browser and OS

  • Browser name: Firefox 123.0.1
  • OS name: Linux
  • Vimium C Version: 1.99.997
@gdh1995
Copy link
Owner

gdh1995 commented Mar 5, 2024

You may try the LinkHints.activateWithQueue command, which has been mapped to Alt+F by default.

You may also enter the queue mode from a plain LinkHints (f), by pressing Alt key once.

@revsuine
Copy link
Author

revsuine commented Mar 5, 2024

You may try the LinkHints.activateWithQueue command, which has been mapped to Alt+F by default.

You may also enter the queue mode from a plain LinkHints (f), by pressing Alt key once.

Thank you, good to know this exists! I just tried this, and it opens multiple links in new tabs, which is handy behaviour to be able to do, however I want to open multiple links in the same tab.

I'll give an example to better illustrate:

Say I am on https://wiki.archlinux.org/. I enter some kind of persistent link hint mode by whatever keybind I've mapped it to. In this mode, I enter whatever hint has been assigned to the Installation Guide, say AM.

Now on https://wiki.archlinux.org/title/Installation_guide, I have not left the link hint mode, and I want to go to a link from this page, say https://wiki.archlinux.org/title/Install_Arch_Linux_with_accessibility_options. I don't need to press f again, it already has a hint, say DM, so I just type DM and I go to the page.

So I have navigated through the following pages:

  1. https://wiki.archlinux.org/
  2. https://wiki.archlinux.org/title/Installation_guide
  3. https://wiki.archlinux.org/title/Install_Arch_Linux_with_accessibility_options

in the same tab, without repeating the same shortcut before following each link (currently I would have to press f before following each link, so I'd press f twice in this example; I want to only press it once).

It's not a huge deal if you don't want to implement it, but it's just something I would find useful for my workflow if implemented. Thanks :)

@gdh1995
Copy link
Owner

gdh1995 commented Mar 7, 2024

Okay, then I do accept this idea while up to now I have no enough rest time to write and improve this feature, sorry.

Somehow like #666 (comment) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants