(vim) Complete healthcheck, disable mouse and fix coc auto completion

This commit is contained in:
Tanguy Herbron 2022-12-06 15:37:25 +01:00
parent c9d436b864
commit 4dda39363b
2 changed files with 9 additions and 1 deletions

View File

@ -158,6 +158,8 @@ inoremap <silent><expr> <TAB>
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>" inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
inoremap <silent><expr> <c-space> coc#refresh() inoremap <silent><expr> <c-space> coc#refresh()
inoremap <silent><expr> <space> coc#pum#visible() ? "<c-r>=coc#pum#confirm()\<CR> " : "\<space>"
hi CocSearch ctermfg=12 guifg=#18A3FF hi CocSearch ctermfg=12 guifg=#18A3FF
hi CocMenuSel ctermbg=109 guibg=#13354A hi CocMenuSel ctermbg=109 guibg=#13354A

View File

@ -53,6 +53,11 @@ Plug 'mboughaba/i3config.vim'
call plug#end() call plug#end()
" Disable integrated providers
let g:loaded_ruby_provider = 0
let g:loaded_perl_provider = 0
let g:loaded_node_provider = 0
" autocmd vimenter * NERDTree | wincmd w " autocmd vimenter * NERDTree | wincmd w
map <C-b> :NERDTreeToggle<CR> map <C-b> :NERDTreeToggle<CR>
autocmd BufEnter * lcd %:p:h autocmd BufEnter * lcd %:p:h
@ -84,7 +89,7 @@ set splitbelow
" Remove the duplicate --INSERT-- information " Remove the duplicate --INSERT-- information
set noshowmode set noshowmode
" rg smart root founder and adds git ingore loading for faster execution " rg smart root founder and adds git ignore loading for faster execution
if executable('rg') if executable('rg')
let g:rg_derive_root="true" let g:rg_derive_root="true"
endif endif
@ -175,3 +180,4 @@ augroup python
\ | highlight def link pythonSelf Special \ | highlight def link pythonSelf Special
augroup end augroup end
set mouse=