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
Autoselect match like autocomplete in completion #5358
Comments
I don't understand what you mean. Can you elaborate? |
For example in Neovims autocompletion you can choose to have the text autoinserted as you type. With Qutebrowser one would need to tab to the match when using :open. |
@eyvindbjartiandersen can you point me at the docs for this neovim setting? I'm having a hard time imagining how it would work for urls. Like, if I just type "g", would it immediately complete to the first url that has a "g" anywhere in it? Or would it just complete the longest unambiguous substring, like "h" would complete up to "http", then "s" would complete through "https://"? The former seems like it would have a lot of false positives, where the latter doesn't sound too useful as I never type the "https://" part when using qute's completion. Maybe some examples would help us understand the desired behavior better? |
The easiest way I can explain it is with this gif using Rofi: https://i.imgur.com/3dZUF1O.gif. The request concerns the selection of one entry at all times. This is the normal behaviour for most autocompleting implementations. Of course there'll be some implementation decisions/configuration options for accepting or declining the search match etc. Rofi for example lets you configure VI style bindings: Example of how Neovim handles autocomplete and arbitrary text is not an issue: https://i.imgur.com/DunYucx.gif This could be very neat to have in Qutebrowser IMHO. |
I suppose that makes sense for prompts where you will most often want to select one of the given options, not enter free text (like it's case for a list of commands). However, with qutebrowser, for lots of commands (say, |
I searched for this feature because I thought it was implemented, but I guess it's a feature request. Is there a possibility to allow autoselecting the match while typing and effectively narrowing down the search matches at the same time in the completion?. Maybe with ESC to cancel/clear selection?.
The text was updated successfully, but these errors were encountered: