Open chemzqm opened 7 years ago
What is the usage of the completion feature? Currently, neovim-prompt is used in lista.nvim or denite.nvim and both does not really have reserved command so I don't really think it is necessary at least for now (I agree that neovim-prompt should have a feature for completion but the implementation should follow the Vim's native completion system rather than the fish-shell)
It's used for faster complete recently used commands, I would think it to be a feature, which not implemented by vim.
What the difference to <Up>
?
Faster response, the user could forget to type <UP>
or not know they can use <UP>
to complete, it feels better. But for neovim-prompt it should be enough if it could support <UP>
and <DOWN>
to navigate history with same leading character.
Now I got your request. You meant the suggestion part which is shown as grey characters in your screenshot right?
Interesting and it is not impossible (the implementation for the feature would be similar to non-printable character feature which current neovim-prompt already has). But it is difficult while the current implementation haven't built for such kind of feature. I might implement that one day but for now, I'm feeling that I should not change the current implementation for a feature which native Vim does not have. Sorry for that.
Maybe oneday...
I can type
<c-e>
to complete the suggest command. This could make command complete faster.