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: automatic LinkHints on page ready #666

Open
gilbh opened this issue Jun 19, 2022 · 13 comments
Open

Feature request: automatic LinkHints on page ready #666

gilbh opened this issue Jun 19, 2022 · 13 comments

Comments

@gilbh
Copy link

gilbh commented Jun 19, 2022

Is it possible to have the f function (I think it is called LinkHints) re-appear after I click a specific letter/link? I am not sure if that would be helpful if the link take to another page, but when staying in the same page, having the option for such a "sticky" mode of LinkHints is invaluable for continuing to open sub-menus etc.

Thanks for all your great work!

@gdh1995
Copy link
Owner

gdh1995 commented Jun 19, 2022

There has been a command named LinkHints.activateWithQueue (<a-f>). And you may press Alt in LinkHints mode to toggle queue mode.

When LinkHints is showing and not in Filtered-Hints mode, then a Tab will reinit it, and you may see more hint markers for newly added links and buttons (#519) .

@gilbh
Copy link
Author

gilbh commented Jun 19, 2022

Fantastic, but I think there are drop-down menus for which the LinkHints does not work (even when I am using <a-f>. The website I encounter this is behind a user/pw (it's my bank), so I can't share the URL, but here's the screenshot:
image
You can see that the area I circled in green color does not have letters (what you see as letters there is actually below the sub-menu that opened).

@gdh1995
Copy link
Owner

gdh1995 commented Jun 20, 2022

If the menu shows after LinkHints re-inits itself, you may press Tab to make Linkhints reinit again and then it should show hints for new elements.

If some elements are still not hinted, please see https://github.com/gdh1995/vimium-c/wiki/Add-or-remove-hints to configure parameters of LinkHints.

@gilbh
Copy link
Author

gilbh commented Jun 20, 2022

Tab did it. Great!!

@gilbh gilbh closed this as completed Jun 20, 2022
@gilbh
Copy link
Author

gilbh commented Jun 27, 2022

A related question: is there a "persistent" LinkHints mode? That is, that LinkHints is always on when entering a new page? I think to would be cool!

@gilbh gilbh reopened this Jun 27, 2022
@gdh1995
Copy link
Owner

gdh1995 commented Jun 28, 2022

No there's no plan to make LinkHints always show - it's impossible to auto select a suitable time point to show LinkHints, because page content may change frequently.

@gilbh
Copy link
Author

gilbh commented Jun 28, 2022

Thanks. I did not think of this problem, but I think that even a one second delay from entering the page until LinkHints come up would be tolerable (even if things change in the page after, which is rare). In my mind at least, this is a major added value, because it really pivots the browsing experience into vimium-c. Thank you for your consideration.

@neta540
Copy link

neta540 commented Aug 19, 2022

Is there an option to let hjkl scrolling work while hints are shown, and redraw the hints on each scroll?

@gdh1995
Copy link
Owner

gdh1995 commented Aug 20, 2022

@neta540 Well, not available up to now, unless you can tolerate latency of 50ms between hint markers disappearing and showing again, no holding-on-to-scroll-longer, and the lose of LinkHints mode and options info:

mapKey <j:l> <v-lh_j>
run <v-lh_j> scrollDown+reset+LinkHints.activate

Maybe I'll add this feature in a future version, but I haven't decided yet.

@Yarden-zamir
Copy link

Here to ask about the presistant LinkHints mode plans

@gdh1995
Copy link
Owner

gdh1995 commented Aug 17, 2023

A future version will auto detect more clickable targets and then make the Tab key on a second LinkHints not so necessary as now.

While persistant LinkHints mode is not in a plan yet.

@Yarden-zamir
Copy link

Who do we need to bribe to get PLM support then?
For people who want to use the keyboard esclusivley this extension is bliss, but the overhead of having to "opt in" every page load is high and I would rather flip a switch that makes sure I need to "opt out" instead.

@gdh1995
Copy link
Owner

gdh1995 commented Aug 27, 2023

OKay now I accept this idea, but I have no much time in recent months, so I may add this feature in, um, maybe 2024.

@gdh1995 gdh1995 changed the title question: automatic LinkHints Feature request: automatic LinkHints on page ready Aug 27, 2023
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

4 participants