Closed fannheyward closed 1 year ago
This is awesome, hopefully it gets in soon.
@fannheyward how do we make this work with vim's gd
(for TS only)?
My current bindings are
" Remap keys for gotos
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)
You can create buffer key-mappings :h map-buffer
Hi! Vim noob here, I've some difficulties trying to map this command 😅
EDIT: resolved with nmap <silent> gd :CocCommand tsserver.goToSourceDefinition<CR>
tsserver.goToSourceDefinition
, close #383