diff --git a/.config/nvim/coc.vim b/.config/nvim/coc.vim index e595e72..6fdd232 100644 --- a/.config/nvim/coc.vim +++ b/.config/nvim/coc.vim @@ -147,3 +147,17 @@ nnoremap j :CocNext nnoremap k :CocPrev " Resume latest coc list. nnoremap p :CocListResume + +inoremap coc#pum#visible() ? coc#pum#confirm() : "\u\\=coc#on_enter()\" +inoremap coc#pum#visible() ? coc#pum#stop() : "\\" +" remap for complete to use tab and +inoremap + \ coc#pum#visible() ? coc#pum#next(1): + \ check_back_space() ? "\" : + \ coc#refresh() +inoremap coc#pum#visible() ? coc#pum#prev(1) : "\" +inoremap coc#refresh() + +hi CocSearch ctermfg=12 guifg=#18A3FF +hi CocMenuSel ctermbg=109 guibg=#13354A +