When I trigger the autocomplete menu in Deoplete, the tab key's behavior is backward. For example, let's say I pop up an autocompletion drop down.\
When I hit the tab key, I would expect Neovim to select the first item in the list. Instead, it selects the last.
I'm not sure if this behavior is specific to Deoplete or is a generic issue with Neovim.
The trick to this one was to remap tab and shift-tab.
inoremap <silent><expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
inoremap <silent><expr><s-tab> pumvisible() ? "\<c-p>" : "\<s-tab>"
There are more instructions on how to improve the popup menu in the Vim wiki.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With