mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Added autocompletion for coc-python in vim
This commit is contained in:
parent
65d7be8658
commit
9f1b789efd
@ -110,3 +110,19 @@ set clipboard+=unnamedplus
|
||||
autocmd BufWritePost *Xresources,*Xdefaults !xrdb %
|
||||
" Update binds when sxhkdrc is updated.
|
||||
autocmd BufWritePost *sxhkdrc !pkill -USR1 sxhkd
|
||||
" coc stuff
|
||||
" You will have bad experience for diagnostic messages when it's default 4000.
|
||||
set updatetime=300
|
||||
|
||||
" Autocomplete with control space, similiar to Pycharm
|
||||
inoremap <silent><expr> <c-space> coc#refresh()
|
||||
|
||||
" Use `:Format` to format current buffer
|
||||
command! -nargs=0 Format :call CocAction('format')
|
||||
|
||||
" Use `:Fold` to fold current buffer
|
||||
command! -nargs=? Fold :call CocAction('fold', <f-args>)
|
||||
|
||||
" use `:OR` for organize import of current buffer
|
||||
command! -nargs=0 OR :call CocAction('runCommand', 'editor.action.organizeImport')
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user