From 5c23c39ac371f6f5231f5cb2dc92270995e7d5ea Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Tue, 11 Jul 2023 13:44:47 +0200 Subject: [PATCH] fix coc commands --- home/.config/nvim/coc.vim | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/home/.config/nvim/coc.vim b/home/.config/nvim/coc.vim index 944144e..a54e606 100644 --- a/home/.config/nvim/coc.vim +++ b/home/.config/nvim/coc.vim @@ -156,18 +156,20 @@ command! -nargs=0 OR :call CocActionAsync('runCommand', 'editor.action.org " Mappings for CoCList " Show all diagnostics -nnoremap CA :CocList diagnostics +nnoremap ca :CocList diagnostics " Manage extensions -nnoremap CE :CocList extensions +nnoremap ce :CocList extensions " Show commands -nnoremap CC :CocList commands +nnoremap cc :CocList commands " Find symbol of current document -nnoremap CO :CocList outline +nnoremap co :CocList outline " Search workspace symbols -nnoremap CS :CocList -I symbols +nnoremap cs :CocList -I symbols " Do default action for next item -nnoremap CJ :CocNext +nnoremap cj :CocNext " Do default action for previous item -nnoremap CK :CocPrev +nnoremap ck :CocPrev " Resume latest coc list -nnoremap CP :CocListResume +nnoremap cp :CocListResume +" reload rust language server +nnoremap crr :CocCommand rust-analyzer.reload