Add coc.nvim goto keybindings
This commit is contained in:
parent
797541c695
commit
c64b6602f9
1 changed files with 6 additions and 0 deletions
|
|
@ -129,6 +129,12 @@ let g:coc_global_extensions = [
|
|||
\'coc-yaml'
|
||||
\]
|
||||
|
||||
" GoTo code navigation.
|
||||
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)
|
||||
|
||||
if filereadable(expand('~/.config/nvim/override.vim'))
|
||||
source ~/.config/nvim/override.vim
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue