Add key for coc-definition

This commit is contained in:
Anthony Rose 2023-05-15 11:51:12 +01:00
parent efecabc3f2
commit 058f888250
2 changed files with 2 additions and 0 deletions

View file

@ -5,5 +5,6 @@
"--suggest-missing-includes", "--suggest-missing-includes",
"--clang-tidy" "--clang-tidy"
], ],
"coc.preferences.jumpCommand": "vsplit",
"powershell.integratedConsole.showOnStartup": false "powershell.integratedConsole.showOnStartup": false
} }

1
vimrc
View file

@ -55,6 +55,7 @@ nnoremap <up> <nop>
nnoremap <leader>B :bprevious<CR> nnoremap <leader>B :bprevious<CR>
nnoremap <leader>b :bnext<CR> nnoremap <leader>b :bnext<CR>
nnoremap <leader>d <Plug>(coc-definition)
map <C-ScrollWheelDown> <C-F> map <C-ScrollWheelDown> <C-F>
map <C-ScrollWheelUp> <C-B> map <C-ScrollWheelUp> <C-B>