You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I enter the command-line window (q: or ctrl-f in command mode) neocomplete shows possible completions but doesn't complete when I press TAB. It does work when I use CTRL-N and CTRL-P. When i press TAB to select available completion vim clears my current line in the command-line window.
My configuration is.
" Neocomplete
" Disable AutoComplPop.
let g:acp_enableAtStartup = 0
" Use neocomplete.
let g:neocomplete#enable_at_startup = 1
" Use smartcase.
let g:neocomplete#enable_smart_case = 1
" Set minimum syntax keyword length.
let g:neocomplete#sources#syntax#min_keyword_length = 3
let g:neocomplete#lock_buffer_name_pattern = '\*ku\*'
inoremap <expr><C-g> neocomplete#undo_completion()
" <CR>: close popup and save indent.
inoremap <silent> <CR> <C-r>=<SID>my_cr_function()<CR>
function! s:my_cr_function()
return pumvisible() ? neocomplete#close_popup() : "\<CR>"
endfunction
" <TAB>: completion.
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>"
" <C-h>, <BS>: close popup and delete backword char.
inoremap <expr><C-h> neocomplete#smart_close_popup()."\<C-h>"
inoremap <expr><BS> neocomplete#smart_close_popup()."\<C-h>"
The text was updated successfully, but these errors were encountered:
When I enter the command-line window (q: or ctrl-f in command mode) neocomplete shows possible completions but doesn't complete when I press TAB. It does work when I use CTRL-N and CTRL-P. When i press TAB to select available completion vim clears my current line in the command-line window.
My configuration is.
The text was updated successfully, but these errors were encountered: