neovim: add and fix some more coc binds
This commit is contained in:
parent
228e3f02dd
commit
c1e33f35a6
1 changed files with 7 additions and 1 deletions
|
|
@ -100,7 +100,13 @@
|
|||
nnoremap <C-K> <C-W>k
|
||||
nnoremap <C-L> <C-W>l
|
||||
nnoremap <C-Q> :q<CR>
|
||||
nnoremap gd <Plug>(coc-definition)
|
||||
|
||||
nmap <silent> [g <Plug>(coc-diagnostic-prev)
|
||||
nmap <silent> ]g <Plug>(coc-diagnostic-next)
|
||||
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)
|
||||
nmap <leader>ref <Plug>(coc-references)
|
||||
nmap <leader>gd :Gdiff<CR>
|
||||
nmap <leader>rn <Plug>(coc-rename)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue