Skip to main content
1 of 4
Mateus C
  • 111
  • 1
  • 3

You can call the action jumpDefinition with a command as argument:

nmap <silent> gs :call CocAction('jumpDefinition', 'split')<CR>
nmap <silent> gd :call CocAction('jumpDefinition', 'vsplit')<CR>
nmap <silent> gt :call CocAction('jumpDefinition', 'tabe')<CR>
Mateus C
  • 111
  • 1
  • 3