Open dEATh-PM opened 11 months ago
I don't think this would be desirable default behavior, as it requires at least one arrow key press. I can't even say for sure that I will actually prefer it, as I have no way of prototyping it.
As you're the only user expressing interest in this behavior, and even you are uncertain about its practicality, the likelihood of dedicating time to implement it is close to zero. However, if you have coding skills and are inclined to pursue this, feel free to work on it and submit a pull request.
I'd have to start by learning JS and the plug-in structure, so that's probably another close to zero. Thanks for considering it at all.
Excuse the sloppy "shop job":
So instead of the first suggestion/default being at the top of the list, the selection is in the middle of the list, and it's blank by default (this could be an option that would work with the current listing as well). The list then expands from the middle with the most likely suggestions up, the second most likely down, the third is two up, the fourth is two down, and so forth. In an effort to keep key presses down. As the default selection is blank, pressing space without moving the selector will not impede unaided typing, and can thus be used to auto complete.
I currently use the enter key to auto complete as I write 80% of the words unassisted, space to complete gets annoying. I don't want to blacklist on search sites, as I often want the assistance, but then find myself searching for "catastrophe" instead of "cat" (as a silly example).
To value screen real estate the center marking could be just a line separating the first and second suggestion, and doesn't have to be reselectable as once you start pressing the arrow keys you likely want one of the suggestions and typing would return it to center as is the current behavior.
I don't think this would be desirable default behavior, as it requires at least one arrow key press. I can't even say for sure that I will actually prefer it, as I have no way of prototyping it.