-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
Filtered hints and numbers? #122
Comments
The mode allows you to type text parts of a wanted link to locate it, and numbers just helps when two links have the same text. The detailed usage can be found in a page on https://github.com/philc/vimium/wiki .
Or just press Tab / Shift+Tab to select a hint (text color of the selected will be gray), and then press Enter.
…---Original---
From: "Ag Ibragimov"<notifications@github.com>
Date: Wed, Feb 5, 2020 03:40 AM
To: "gdh1995/vimium-c"<vimium-c@noreply.github.com>;
Cc: "Subscribed"<subscribed@noreply.github.com>;
Subject: [gdh1995/vimium-c] question: how to deal with numbers? (#122)
When Use the link's name and characters for link-hint filtering option is enabled and you press f on a page that have links with numbers, e.g., google search results page. How do you jump to a link that starts with a number? Let's say you want to jump to the 2nd page of google search results, how do you do that efficiently? There's no easy way to filter all the links that start with "2", is it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Oh, I know how filtered hinting works, I think I either failed to explain the problem, or you weren't paying attention :) Let me try again. So let's say you go to google.com and type some search term (could be anything because it's irrelevant). Now, on the search results page, go all the way down to the bottom (press So my question is, with filtered hinting how do you jump to search results page "7"? You press Wouldn't be nice if you could press "7" and it either would filter all the links that contain "7" or focus on the link to the "page 7" automatically? I wonder if it's possible to improve the algorithm so it tries to assign relevant numbers to links with numbers. So instead of randomly assigning Vimium markers with numbers from the top of the page to the bottom, it would assign "2" to "page 2", "3" to "page 3", and so on. Once all the links with numbers are filled, then it would continue assigning markers to other elements. If that approach is too difficult or may have performance implications, there's another alternative: What if, after pressing |
Oh sorry my English reading skill is too poor. I'll review this issue later. |
Oh no worries. I understand. I am not a native English speaker myself. I wish I could explain that in Chinese 😄. |
First of all, the idea of assign Is it enough to just handle those what only include number characters ? I mean if a link has a title of BTW, currently the logic is not completely random - both Vimium and Vimium C assign smaller index numbers to those whose text are shorter. |
I honestly think it would be easier to allow number filtering with a modifier key see, If I want to select the item with your github handle by typing 1, 9, or 5; or I want to jump to the item that says "2 days ago", I currently can't do that efficiently. But what if I could do that by typing numbers with holding |
Hello, here's a version implementing the idea of assigning
|
Awesome. I'll give it a try. Thank you Dahan. |
It works, but only sometimes. On pages with lots of numbers, Github is a good example it is still doesn't offer you a good way to quickly navigate to links with numbers. Even on this page, right now, if I press I still think the best way to tackle this problem, is to allow filtering links with numbers separately from alphanumeric links, e.g: if user holds |
Oh the new version only implements "the idea of assigning 3 to a link of "3", and 42 to "42" (if there're at least 3/42 hint markers)". And for me it is not determined how to trigger number text matching yet, so neither its developing. |
Here's a simple test: vimium_c-1.81.4-chrome-bdd53c4.zip . Use Install:
|
v1.81.5 has been released. |
When
Use the link's name and characters for link-hint filtering
option is enabled and you pressf
on a page that have links with numbers, e.g., google search results page. How do you jump to a link that starts with a number? Let's say you want to jump to the 2nd page of google search results, how do you do that efficiently? There's no easy way to filter all the links that start with "2", is it?I mean, in this specific case you can just press
]]
and it would take you to the next page, but that's not the point. The point is: maybe it would be nice to have a way to filter links that start with numbers?The text was updated successfully, but these errors were encountered: