Skip to content

Instantly share code, notes, and snippets.

@AlexDenisov
Created November 20, 2012 06:27
Show Gist options
  • Save AlexDenisov/4116383 to your computer and use it in GitHub Desktop.
Save AlexDenisov/4116383 to your computer and use it in GitHub Desktop.
Neocomplcache config
let g:neocomplcache_enable_at_startup = 1
let g:neocomplcache_enable_smart_case = 1
let g:neocomplcache_enable_camel_case_completion = 1
let g:neocomplcache_enable_underbar_completion = 1
let g:neocomplcache_min_syntax_length = 1
let g:neocomplcache_disable_auto_complete = 1
let g:neocomplcache_enable_fuzzy_completion = 1
let g:neocomplcache_enable_ignore_case = 1
map <C-k> <Plug>(neocomplcache_snippets_expand)
smap <C-k> <Plug>(neocomplcache_snippets_expand)
inoremap <expr><C-g> neocomplcache#undo_completion()
inoremap <expr><C-l> neocomplcache#complete_common_string()
imap <C-Space> <Plug>(neocomplcache_snippets_expand)
smap <C-Space> <Plug>(neocomplcache_snippets_expand)
imap <expr><TAB> neosnippet#expandable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<C-n>" : "\<TAB>"
smap <expr><TAB> neosnippet#expandable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
imap <expr><C-Space> neocomplcache#start_manual_complete()
inoremap <expr><C-h> neocomplcache#smart_close_popup()."\<C-h>"
inoremap <expr><BS> neocomplcache#smart_close_popup()."\<C-h>"
inoremap <expr><C-y> neocomplcache#close_popup()
inoremap <expr><C-e> neocomplcache#cancel_popup()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment