i dont know|
This commit is contained in:
parent
4f7e6068f3
commit
86bc70fb4a
3 changed files with 42 additions and 5 deletions
|
@ -20,11 +20,12 @@ map("n", "<leader>s", ":Telescope live_grep glob_pattern=*.{ts,html,c,cc,cpp,h,g
|
|||
map("n", "<leader>sc", ":noh<CR>")
|
||||
|
||||
-- map("n", "gs", ":call CocAction('jumpDefinition', 'split')<CR>")
|
||||
-- map("n", "gt", ":CocCommand clangd.switchSourceHeader<CR>")
|
||||
map("n", "gt", ":ClangdSwitchSourceHeader<CR>")
|
||||
--
|
||||
map("n", "p<C-]>", "<cmd>lua require('goto-preview').goto_preview_definition()<CR>", {noremap=true})
|
||||
map("n", "q<C-]>", "<cmd>lua require('goto-preview').close_all_win()<CR>", {noremap=true})
|
||||
map("n", "r<C-]>", "<cmd>lua require('goto-preview').goto_preview_references()<CR>", {noremap=true})
|
||||
map("n", "<leader>rn", "<cmd>lua vim.lsp.buf.rename()<CR>", {noremap=true})
|
||||
|
||||
map("n", "<leader>1", "1gt")
|
||||
map("n", "<leader>2", "2gt")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue