diff --git a/.vimrc b/.vimrc index 785631bb243a7044068c89312250b123b3f90d8e..efbe7f3e18a20dc98a6a9c004aaba2eb5a5ca866 100644 --- a/.vimrc +++ b/.vimrc @@ -947,6 +947,9 @@ nmap <silent> <leader>gt :call CocAction('jumpDefinition', 'tabe')<CR> 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 nnoremap <silent> K :call <SID>show_documentation()<CR>