Changed keybinds to new coc lists

This commit is contained in:
Oliver Hartmann 2019-01-30 22:52:07 +01:00
parent 808c79e544
commit 46266b845f

View File

@ -221,19 +221,19 @@ nmap <leader>f <Plug>(coc-format-selected)
command! -nargs=0 Format :call CocAction('format')
" Shortcuts for denite interface
" Show extension list
nnoremap <silent> <space>e :<C-u>Denite coc-extension<cr>
nnoremap <silent> <space>e :CocList extensions<cr>
" Show symbols of current buffer
nnoremap <silent> <space>o :<C-u>Denite coc-symbols<cr>
nnoremap <silent> <space>o :CocList outline<cr>
" Search symbols of current workspace
nnoremap <silent> <space>t :<C-u>Denite coc-workspace<cr>
nnoremap <silent> <space>t :CocList symbols<cr>
" Show diagnostics of current workspace
nnoremap <silent> <space>a :<C-u>Denite coc-diagnostic<cr>
nnoremap <silent> <space>a :CocList diagnostics<cr>
" Show available commands
nnoremap <silent> <space>c :<C-u>Denite coc-command<cr>
nnoremap <silent> <space>c :CocList commands<cr>
" Show available services
nnoremap <silent> <space>s :<C-u>Denite coc-service<cr>
nnoremap <silent> <space>s :CocList services<cr>
" Show links of current buffer
nnoremap <silent> <space>l :<C-u>Denite coc-link<cr>
nnoremap <silent> <space>l :CocList link<cr>
nmap <silent> gd <Plug>(coc-definition)
nmap <silent> gy <Plug>(coc-type-definition)
nmap <silent> gi <Plug>(coc-implementation)