-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
implement intelligent tab completion #222
Comments
steckerhalter [email protected] writes:
Or
Thierry |
I like that one. Might probably be enough. But I still think TAB could trigger something that helps to do some further narrowing... |
You should not rely on common prefix as in other packages like Ido or vanilla Emacs. We should not press TAB to refresh a new candidate list; we get new list every time we modify the input. Instead, use the every part of your desired candidate. For example, in your example, if you want to get "package-install", just type "pac stal" and "package-install" will be the first candidate. If you want "list-packages", just type "pac ^l" and you get "list-packages" (notice I do not follow the order of "list-packages"). Use every thing in your candidate string, not just prefix. |
@tuhdo I see, thanks! |
I don't accept this. Tab completion is the norm in every application I use daily. If I start typing |
Mike Keen [email protected] writes:
Please read the helm wiki and the @tudho tutorial (link in README) to Thanks. Thierry |
I'm using helm now for quite a while and I really like it. but one thing bugs me. when I narrow down a list and there are multiple results that can't be much slimmed down by "fuzzy" matching I always need to scroll through the list to get to the right entry.
now the only thing TAB does is to bring up a list with possible commands. I think any other key could do this too. TAB instead should trigger an intelligent completion mechanism.
for example if I know how something starts I would like to be able to type some letters of the first word. helm shows me the usual fuzzy matched results. but when I press TAB Helm narrows down the list to the things that start with the letters I entered. or if there is only one occurence, give me the chance to press enter immedately. I think this would make many operations much faster as you could pick the completion that fits the operation.
or maybe there are even better ways to do it?
The text was updated successfully, but these errors were encountered: