mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-23 04:47:36 +00:00
Neo Necomplete/complecache install
This commit is contained in:
parent
fa5cf71b03
commit
0efdca96d8
27
vimrc
27
vimrc
@ -46,12 +46,17 @@ Plugin 'bling/vim-airline' " Custom Status Line
|
|||||||
|
|
||||||
" -- System --
|
" -- System --
|
||||||
Plugin 'tpope/vim-dispatch' " Allow async make
|
Plugin 'tpope/vim-dispatch' " Allow async make
|
||||||
Plugin 'Shougo/neocomplcache.vim' " Autocomplete
|
|
||||||
Plugin 'tpope/vim-rsi' " emacs bindinds in insert
|
Plugin 'tpope/vim-rsi' " emacs bindinds in insert
|
||||||
Plugin 'tpope/vim-repeat' " Repeat mapped commands with .
|
Plugin 'tpope/vim-repeat' " Repeat mapped commands with .
|
||||||
" Needs to be compiled
|
" Needs to be compiled
|
||||||
Plugin 'Shougo/vimproc.vim' " Async for plugins
|
Plugin 'Shougo/vimproc.vim' " Async for plugins
|
||||||
|
|
||||||
|
if has('lua')
|
||||||
|
Plugin 'Shougo/neocomplete.vim' " Autocomplete
|
||||||
|
else
|
||||||
|
Plugin 'Shougo/neocomplcache.vim' " Autocomplete
|
||||||
|
end
|
||||||
|
|
||||||
" -- Themes --
|
" -- Themes --
|
||||||
Plugin 'vividchalk.vim'
|
Plugin 'vividchalk.vim'
|
||||||
Plugin 'wombat256.vim'
|
Plugin 'wombat256.vim'
|
||||||
@ -346,12 +351,20 @@ nnoremap <leader>gw :Gwrite<CR>
|
|||||||
" Toggle QuickFix window
|
" Toggle QuickFix window
|
||||||
nnoremap <silent> <F6> :QFix<CR>
|
nnoremap <silent> <F6> :QFix<CR>
|
||||||
|
|
||||||
" NeoComplCache
|
" neocomplete / neocomplcache
|
||||||
let g:neocomplcache_enable_at_startup = 1
|
if has('lua')
|
||||||
let g:neocomplcache_enable_smart_case = 1
|
let g:acp_enableAtStartup = 0
|
||||||
let g:neocomplcache_max_list = 10
|
let g:neocomplete#enable_at_startup = 1
|
||||||
"let g:neocomplcache_enable_camel_case_completion = 1
|
"let g:neocomplete#enable_smart_case = 1
|
||||||
let g:neocomplcache_enable_fuzzy_completion = 1
|
let g:neocomlete#max_list=10
|
||||||
|
else
|
||||||
|
" NeoComplCache
|
||||||
|
let g:neocomplcache_enable_at_startup = 1
|
||||||
|
"let g:neocomplcache_enable_smart_case = 1
|
||||||
|
let g:neocomplcache_max_list = 10
|
||||||
|
"let g:neocomplcache_enable_camel_case_completion = 1
|
||||||
|
let g:neocomplcache_enable_fuzzy_completion = 1
|
||||||
|
endif
|
||||||
|
|
||||||
nmap <leader>a :Ag<Space>
|
nmap <leader>a :Ag<Space>
|
||||||
nmap <leader>i* :Ag<Space>-i<Space>'\b<c-r><c-W>\b'<CR>
|
nmap <leader>i* :Ag<Space>-i<Space>'\b<c-r><c-W>\b'<CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user