Closed cslxiao closed 6 years ago
inoremap <silent><expr> <TAB> pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ deoplete#mappings#manual_complete()
function! s:check_back_space() abort "{{{
let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s'
endfunction"}}}
Please read the documentation.
People of the future: it's just deoplete#manual_complete()
now, not deoplete#mappings#manual_complete()
.
After installing the plugin in vim8, I can get the popup list. But I cannot switch between the item with TAB key, only the direction keys works. Pressing TAB still get 4 blanks. Thanks in advance.