Commit 01f6729
Changed files (2)
plugin
plugin/coc-setup.vim
@@ -1,54 +0,0 @@
-if has('nvim')
- inoremap <silent><expr> <c-space> coc#refresh()
-else
- inoremap <silent><expr> <c-@> coc#refresh()
-endif
-
-nmap <silent> gd <Plug>(coc-definition)
-nmap <silent> gy <Plug>(coc-type-definition)
-nmap <silent> gi <Plug>(coc-implementation)
-nmap <silent> gr <Plug>(coc-references)
-nnoremap <silent> K :call <SID>show_documentation()<CR>
-
-function! s:show_documentation()
- if (index(['vim','help'], &filetype) >= 0)
- execute 'h '.expand('<cword>')
- elseif (coc#rpc#ready())
- call CocActionAsync('doHover')
- else
- execute '!' . &keywordprg . " " . expand('<cword>')
- endif
-endfunction
-
-nmap <leader>rn <Plug>(coc-rename)
-xmap <leader>f <Plug>(coc-format-selected)
-nmap <leader>f <Plug>(coc-format-selected)
-"xmap <leader>a <Plug>(coc-codeaction-selected)
-"nmap <leader>a <Plug>(coc-codeaction-selected)
-"nmap <leader>ac <Plug>(coc-codeaction)
-"nmap <leader>qf <Plug>(coc-fix-current)
-"xmap if <Plug>(coc-funcobj-i)
-"omap if <Plug>(coc-funcobj-i)
-"xmap af <Plug>(coc-funcobj-a)
-"omap af <Plug>(coc-funcobj-a)
-"xmap ic <Plug>(coc-classobj-i)
-"omap ic <Plug>(coc-classobj-i)
-"xmap ac <Plug>(coc-classobj-a)
-"omap ac <Plug>(coc-classobj-a)
-"nnoremap <expr><C-f> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>"
-"nnoremap <expr><C-b> coc#float#has_scroll() ? coc#float#scroll(0) : "\<C-b>"
-"inoremap <expr><C-f> coc#float#has_scroll() ? coc#float#scroll(1) : "\<Right>"
-"inoremap <expr><C-b> coc#float#has_scroll() ? coc#float#scroll(0) : "\<Left>"
-"nmap <silent> <C-s> <Plug>(coc-range-select)
-"xmap <silent> <C-s> <Plug>(coc-range-select)
-"command! -nargs=0 Format :call CocAction('format')
-"command! -nargs=? Fold :call CocAction('fold', <f-args>)
-"command! -nargs=0 OR :call CocAction('runCommand', 'editor.action.organizeImport')
-"nnoremap <silent><nowait> <space>a :<C-u>CocList diagnostics<cr>
-"nnoremap <silent><nowait> <space>e :<C-u>CocList extensions<cr>
-"nnoremap <silent><nowait> <space>c :<C-u>CocList commands<cr>
-"nnoremap <silent><nowait> <space>o :<C-u>CocList outline<cr>
-"nnoremap <silent><nowait> <space>s :<C-u>CocList -I symbols<cr>
-"nnoremap <silent><nowait> <space>j :<C-u>CocNext<CR>
-"nnoremap <silent><nowait> <space>k :<C-u>CocPrev<CR>
-"nnoremap <silent><nowait> <space>p :<C-u>CocListResume<CR>
coc-settings.json
@@ -1,3 +0,0 @@
-{
- "suggest.autoTrigger": "none"
-}