summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMineralwaterXu <[email protected]>2020-09-25 19:34:23 +0800
committerMineralwaterXu <[email protected]>2020-09-25 19:34:23 +0800
commit255f415d9640a7b2f76d3e84a29b42ff2314e376 (patch)
tree663be91b203d9ef610221903e49b0ae0443e540e
parentf3428d47f5e954e68080a2d6036975bcdff33828 (diff)
modified coc.nvim config
-rw-r--r--init.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.vim b/init.vim
index a3c1042..a672655 100644
--- a/init.vim
+++ b/init.vim
@@ -303,8 +303,8 @@ function! s:check_back_space() abort
return !col || getline('.')[col - 1] =~# '\s'
endfunction
-" Use <c-space> to trigger completion.
-inoremap <silent><expr> <c-space> coc#refresh()
+" Use <c-o> to trigger completion.
+inoremap <silent><expr> <c-o> coc#refresh()
" Use <cr> to confirm completion, `<C-g>u` means break undo chain at current
" position. Coc only does snippet and additional edit on confirm.