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

Coc: Add clangd keybinds for symbol and AST

parent e702a48d
No related branches found
No related tags found
No related merge requests found
...@@ -944,7 +944,8 @@ nmap <silent> <leader>me <Plug>(coc-command)expandMacro ...@@ -944,7 +944,8 @@ nmap <silent> <leader>me <Plug>(coc-command)expandMacro
nmap <silent> <leader>gh :CocCommand clangd.switchSourceHeader<CR> nmap <silent> <leader>gh :CocCommand clangd.switchSourceHeader<CR>
nmap <silent> <leader>gH :CocCommand clangd.switchSourceHeader vsplit<CR> nmap <silent> <leader>gH :CocCommand clangd.switchSourceHeader vsplit<CR>
nmap <silent> <leader>gsi :CocCommand clangd.SymbolInfo<CR> nmap <silent> <leader>gsi :CocCommand clangd.symbolInfo<CR>
nmap <silent> <leader>gast :CocCommand clangd.ast<CR>
" From coc-completion-help 2022-08-01 " From coc-completion-help 2022-08-01
inoremap <expr> <cr> coc#pum#visible() ? coc#_select_confirm() : "\<CR>" inoremap <expr> <cr> coc#pum#visible() ? coc#_select_confirm() : "\<CR>"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment