nvim: plugin: compe: Use TAB and S-TAB to cycle through popup menu
We mistakenly dropped this while switching to compe from completion-nvim.
This commit is contained in:
parent
51b848d1f6
commit
9c889caa9a
1 changed files with 4 additions and 0 deletions
|
@ -10,3 +10,7 @@ inoremap <silent><expr> <TAB>
|
|||
|
||||
inoremap <silent><expr> <CR> compe#confirm('<CR>')
|
||||
inoremap <silent><expr> <C-e> compe#close('<C-e>')
|
||||
|
||||
" Use <Tab> and <S-Tab> to navigate through popup menu
|
||||
inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
|
||||
inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
|
||||
|
|
Loading…
Reference in a new issue