-
Notifications
You must be signed in to change notification settings - Fork 720
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
[REQUEST] Manual trigger of completers
#5279
Comments
Toggling autocomplete on/off feels worse than just triggering manual completion whenever I feel like.
you can do `set global autocomplete prompt`
enable it explicitly with `<c-o>`,
and maybe add an `InsertCompletionHide` hook to disable it again (though that's a bit weird, I recommend trying the default behavior for a bit).
This should give you more or less the desired behavior.
It's possible that there are differences remaining but you should see yourself.
|
Disabling autocomplete and using a hook does seem to work okay, however I still believe having this available by default would be consistent with the other forms of completion. |
what behavior exactly? Or are you talking about a way to enable autocomplete, and automagically disable it again after accepting a completion? |
I mean allowing to manually trigger completion that uses the |
I'm not sure if that makes sense. The To match your expectations, it is possible to define your own I'm not saying your expectation is wrong but it would add implementation complexity and UI problems that we'd want to solve. |
Feature
Currently, kakoune provides a way to manually trigger word and line completion, however you only seem to be able to toggle the autocompletion which uses the
completers
opt. I'd like the ability to manually trigger this completion as well.Usecase
I prefer manual completion, i.e. how vim omnicomplete works. Toggling autocomplete on/off feels worse than just triggering manual completion whenever I feel like. This would also make the
completers
completion consistent with the manual triggering of word and line completion.The text was updated successfully, but these errors were encountered: