This commit is contained in:
sadanslargehole 2024-05-19 17:13:54 -04:00
parent 825e452eba
commit de66adb059
No known key found for this signature in database
GPG key ID: B2E2F4A5161A7800

View file

@ -45,7 +45,7 @@ vim.keymap.set({ "i", "n" }, "<C-\\>", vim.cmd.vsplit, {})
vim.keymap.set("n", "<C-[>", "zc", {})
vim.keymap.set("n", "<C-]>", "zo", {})
-- clangd switch source/header
vim.keymap.set({ "i", "n" }, "<A-o>", vim.cmd.ClangdSwitchSourceHeader, { silent = true })
vim.keymap.set({ "i", "n" }, "<leader>o", vim.cmd.ClangdSwitchSourceHeader, { silent = true })
-- goto mappings
vim.keymap.set("n", "gd", vim.lsp.buf.definition, {})
vim.keymap.set("n", "gD", vim.lsp.buf.declaration, {})