Changed keybinds to new coc lists
This commit is contained in:
parent
808c79e544
commit
46266b845f
14
init.vim
14
init.vim
@ -221,19 +221,19 @@ nmap <leader>f <Plug>(coc-format-selected)
|
|||||||
command! -nargs=0 Format :call CocAction('format')
|
command! -nargs=0 Format :call CocAction('format')
|
||||||
" Shortcuts for denite interface
|
" Shortcuts for denite interface
|
||||||
" Show extension list
|
" 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
|
" 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
|
" 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
|
" 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
|
" Show available commands
|
||||||
nnoremap <silent> <space>c :<C-u>Denite coc-command<cr>
|
nnoremap <silent> <space>c :CocList commands<cr>
|
||||||
" Show available services
|
" 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
|
" 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> gd <Plug>(coc-definition)
|
||||||
nmap <silent> gy <Plug>(coc-type-definition)
|
nmap <silent> gy <Plug>(coc-type-definition)
|
||||||
nmap <silent> gi <Plug>(coc-implementation)
|
nmap <silent> gi <Plug>(coc-implementation)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user