Replies: 2 comments 2 replies
-
I'm pretty sure that's not possible currently. Here is a feature request for it: #6883
Just in case you weren't aware, you can bind other keys to
That resonates with me, I get that all the time and keep refusing to add them to bookmarks because it feels like too much commitment. Another possible approach apart from hints would be to have some way to add custom commands that could operate on the completion by filtering it or selecting a specific item out of the list. Then you could bind something to filter to only domains, or select the shortest visible entry with the same domain as the selected one, or change the sorting. That's not possible currently either. Not sure how hard it would be to add hinting to the completion. Probably involve both the completion widget and model. Might be a bit tricky, but at least be somewhat self contained, apart from the dozen dependant models! |
Beta Was this translation helpful? Give feedback.
-
I do that. Regarding gitlab urls, I don't type 'gitlab' but the name of the repo and then I get the corresponding bookmark. Since I never browse the list of all bookmarks like one might do in Firefox or so, having a lot of bookmarks does not have any drawbacks for me. So whenever I find myself in the situation you describe, I just navigate to the 'correct' entry once via option 2 and the bookmark it. One other option would be a configuration option to sort the suggestions in a way that is mire likely to give you the correct one on top, eg. by length. |
Beta Was this translation helpful? Give feedback.
-
I'm not sure something related to this has been discussed so though I'd open a discussion first. I tried to search a bit but wasn't really sure what terms to look for.
Consider the following, lets say I often visit some website
www.foo.bar
and then moving around in the website many different URLs are populate in the history, maybe something like:Now when I start qutebrowser and want to navigate to
www.foo.bar
I type:open
and then start typingfoo
. In many cases I get something like the above as the suggestions and the one I want to go to, iewww.foo.bar
, is somewhere in the middle. It's then hard to type more things to filter down further since it's the shortest match and all the other contain at least that URL.I then have some options:
Maybe 3. is the way to go but the same issue can occur in that case if I actually have many urls (eg gitlab repos) with very similar names.
Also I really don't want to do 1. :) and so 2. is what I often do but I'm wonder we can have something faster.
I'm thinking something similar to for example the hop plugin for
nvim
which has aHopLine
command. For example if I have the bufferand do
HopLine
, each line gets associated with a characterwhich I can press to quickly jump to that line.
I'm wondering if something similar could be done for URL suggestions (or any command suggestions) where I can press some key-command that takes me to this mode and I can go to any suggestion with a single key-press after that. I guess the key-command would have to be some
ctrl-...
since the user is at that point in command-mode. Of course the suggestions could also be identified by numbers in order but at least I'm faster at typing letters that numbers.Firstly I'm just wondering if something similar has been considered and if this sounds good/reasonable. Then I'm happy to discuss more details and implementation and possibly help out with that.
Beta Was this translation helpful? Give feedback.
All reactions