Skip to content
Snippets Groups Projects
Commit bd9b7195 authored by Henrik Tjäder's avatar Henrik Tjäder
Browse files

coc clangd add keybinds for jumping to header/src

parent ac70df94
No related branches found
No related tags found
No related merge requests found
...@@ -947,6 +947,9 @@ nmap <silent> <leader>gt :call CocAction('jumpDefinition', 'tabe')<CR> ...@@ -947,6 +947,9 @@ nmap <silent> <leader>gt :call CocAction('jumpDefinition', 'tabe')<CR>
nmap <silent> <leader>me <Plug>(coc-command)expandMacro nmap <silent> <leader>me <Plug>(coc-command)expandMacro
nmap <silent> <leader>gh :CocCommand clangd.switchSourceHeader<CR>
nmap <silent> <leader>gH :CocCommand clangd.switchSourceHeader vsplit<CR>
nmap <silent> <leader>gsi :CocCommand clangd.SymbolInfo<CR>
" Use K to show documentation in preview window " Use K to show documentation in preview window
nnoremap <silent> K :call <SID>show_documentation()<CR> nnoremap <silent> K :call <SID>show_documentation()<CR>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment