= 1 let g:NeoComplCache_SmartCase = 1 let g:NeoComplCache_TagsAutoUpdate = 1 let g:NeoComplCache_EnableInfo = 1 let g:NeoComplCache_EnableCamelCaseCompletion = 1 let g:NeoComplCache_MinSyntaxLength = 3 let g: NeoComplCache_EnableSkipCompletion = 1 let g:NeoComplCache_SkipInputTime = '0.5' let g:NeoComplCache_SnippetsDir "\<C-n>" : "\<TAB>" " snippets expand key imap <silent> <C-e> <Plug>(neocomplcache_snippets_expand) smap <silent> <C-e> <Plug>(neocomplcache_snippets_expand) "--------------------------------------------
= 1 let g:NeoComplCache_SmartCase = 1 let g:NeoComplCache_TagsAutoUpdate = 1 let g:NeoComplCache_EnableInfo = 1 let g:NeoComplCache_EnableCamelCaseCompletion = 1 let g:NeoComplCache_MinSyntaxLength = 3 let g: NeoComplCache_EnableSkipCompletion = 1 let g:NeoComplCache_SkipInputTime = '0.5' let g:NeoComplCache_SnippetsDir "\<C-n>" : "\<TAB>" " snippets expand key imap <silent> <C-e> <Plug>(neocomplcache_snippets_expand) smap <silent> <C-e> <Plug>(neocomplcache_snippets_expand) "--------------------------------------------
menu.vim “PHP语法提示 filetype plugin on autocmd FileType php set omnifunc=phpcomplete#CompletePHP 第二步:安装neocomplcache 然后把下面的语句添加.vimrc在后面 if &term==”xterm” set t_Co=8 set t_Sb=^[[4%dm set t_Sf=^[[3%dm endif let g:neocomplcache_enable_at_startup
clang_use_library=1 let g:clang_user_options='-stdlib=libc++ -std=c++11 -IIncludePath' let g:neocomplcache_enable_at_startup
vimrc.before.local里开启 默认不进行代码补全,要使用者在 ~/.vimrc.before.local里进行配置,如我加入了对 youcompletme的配置,也可以使用 neocomplte和 neocomplcache >f和 <leader><leader>t,不过不建议使用 代码补全插件 用了三种补全插件,要在 ~/.vimrc.before.local里加入 youcomplteme或 neocomplte或 neocomplcache 在安装好各种编译用的工具后 cd ~/.vim/bundle/YouCompleteMe python2 install.py#可能仅支持python等不需要编译的语言 neocomplete&&neocomplcache
整合实现了多种插件 clang_complete AutoComplPop Supertab neocomplcache Syntastic(类似功能,仅仅针对c/c++/obj-c代码) 支持语言 c